using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ServerAddress
{
    public static string YZTServerAddress = "http://www.chatgpt918.top:15000";
    public static string Server_TextureSavePath = "http://www.chatgpt918.top:15001/images/";
    public static string ObsSeverAddress = "http://111.4.141.191:18089";
    public static string ObsSeverM3U8Address = "http://111.4.141.191:18088";
    
    /// 
    /// 获取一张图所有工程数据
    /// 
    public static string APIGetWaterManagerProject = YZTServerAddress + "/get-water-management-projects";
    /// 
    /// 获取一张图所有热点数据
    /// 
    public static string APIGetWaterHotPoint = YZTServerAddress + "/get-hot-point-data";
    /// 
    /// 获取蓄洪概况大事件所有数据
    /// 
    public static string APIGetGetProjectMilestones = YZTServerAddress + "/get-project-milestones";
    /// 
    /// 获取人口转移所有路径数据
    /// 
    public static string APIGetGetMovePlans = YZTServerAddress + "/get-move-plans";
    /// 
    /// 获取人口转移基础数据
    /// 
    public static string APIGetGeBaseData = YZTServerAddress + "/get-rkzy-base-data";
    /// 
    /// 获取气象站检测数据
    /// 
    public static string APIGetGeQXZData = YZTServerAddress + "/get-six-hour-qx-data?hours=24";
    /// 
    /// 获取水文站检测数据
    /// 
    public static string APIGetGeSWZData = YZTServerAddress + "/get-six-hour-sw-data?hours=24";
    /// 
    /// 获取重点地区水位检测数据
    /// 
    public static string APIGetGeSWData = YZTServerAddress + "/get-sw-height-data";
    /// 
    /// 获取三线水位数据
    /// 
    public static string APIGetThreeLevel = YZTServerAddress + "/get-swyj-base-data";
    /// 
    /// 获取蓄洪概况图片位置
    /// 
    public static string ServerPicPath = "http://www.chatgpt918.top:15001/projectImages/";
    /// 
    ///补元水闸数据 modelbus
    /// 
    public static string API_BuYuan_GetSensorData = "http://111.4.141.191:8300/api/sensor_data";
    /// 
    /// 补元水闸获取硬件组 最后一条数据
    /// 
    public static string API_BuYuan_GetDevicesGroupInfo = YZTServerAddress + "/get_last_datas";
    
    /// 
    /// 补元水闸获取硬件 最后一条数据
    /// 
    public static string API_BuYuan_GetSingleDevicesInfo = YZTServerAddress + "/get_last_data";
    
    /// 
    /// 补元水闸获取硬件数据-小时-日-月
    /// 
    public static string API_BuYuan_GetSingleDevicesInfo_avg = YZTServerAddress + "/get_data_by_avg";
    public static string API_TextureUploadPath = YZTServerAddress + "/upload";
    public static string API_B08_dataStatis = "http://111.4.141.191:9080/open/dataStatis?projectId=";
    public static string API_B08_inspectResult = "http://111.4.141.191:9080/open/inspectResult?projectId=";
    public static string API_B08_projectExamine = "http://111.4.141.191:9080/open/projectExamine?projectId=";
    public static string API_B08_event = "http://111.4.141.191:9080/open/event?projectId=";
    public static string API_B08_questionStatis = "http://111.4.141.191:9080/open/questionStatis?projectId=";
    public static string API_B08_inspectType = "http://111.4.141.191:9080/open/inspectType?projectId=";
    
    /// 
    /// 获取站点水位信息(折线图和信息列表)
    /// 
    public static string API_GetWaterTrend_chart = "http://111.4.141.191:9080/open/water1?stcd=";
    public static string API_GetWaterTrend_list = "http://111.4.141.191:9080/open/water2?stcd=";
    public static string API_GetWaterData = "http://111.4.141.191:9080/open/water3";
    //  http://111.4.141.191:9081/open/dataStatis 
    //
    // dataStatis 数据统计
    // inspectResult 巡检结果类型统计与趋势
    // projectExamine 工程管理考核
    // event 突发事件总计
    // questionStatis 整改问题总计
    // inspectType 巡检类型总计
    public static string API_GetDevicesInfo = ObsSeverAddress+"/api/device/query/devices";
    public static string API_PlayStart = ObsSeverAddress+"/api/play/start";
    public static string API_CameraCtrl = ObsSeverAddress+"/api/ptz/control";
}