using System.Collections; using System.Collections.Generic; using UnityEngine; public class ServerAddress { public static string YZTServerAddress = "http://58.19.230.46:9081"; public static string YZTServerPYAddress = "http://58.19.230.46:15005"; public static string Server_UploadPath = "http://58.19.230.46:15001"; public static string ModbusSeverAddress = "http://58.19.230.46:8300"; public static string ObsSeverAddress = "http://58.19.230.46:18089"; public static string ObsSeverM3U8Address = "http://58.19.230.46:18088"; /// /// 获取一张图所有工程数据 /// public static string APIGetWaterManagerProject = YZTServerAddress + "/open/data/projects"; /// /// 获取一张图所有热点数据 /// public static string APIGetWaterHotPoint = YZTServerAddress + "/open/data/hotPoint"; /// /// 获取蓄洪概况大事件所有数据 /// public static string APIGetGetProjectMilestones = YZTServerAddress + "/open/data/projectMilestones"; /// /// 获取人口转移所有路径数据 /// public static string APIGetGetMovePlans = YZTServerAddress + "/open/transfer"; /// /// 获取人口转移基础数据 /// public static string APIGetGeBaseData = YZTServerAddress + "/get-rkzy-base-data"; /// /// 获取气象站检测数据 /// public static string APIGetGeQXZData = YZTServerPYAddress + "/get-six-hour-qx-data?hours=24"; /// /// 获取水文站检测数据 /// public static string APIGetGeSWZData = YZTServerPYAddress + "/get-six-hour-sw-data?hours=24"; /// /// 获取重点地区水位检测数据 /// public static string APIGetGeSWData = YZTServerPYAddress + "/get-sw-height-data"; /// /// 获取三线水位数据 /// public static string APIGetThreeLevel = YZTServerAddress + "/get-swyj-base-data"; /// /// 获取蓄洪概况图片位置 /// public static string ServerPicPath = Server_UploadPath + "/Uploads/projectImages/"; /// /// 获取监控缓存图片位置 /// public static string Server_TextureSavePath = Server_UploadPath + "/Uploads/images/"; /// ///补元水闸数据 modelbus /// public static string API_BuYuan_GetSensorData = ModbusSeverAddress + "/api/sensor_data?station_name=buyuan"; /// ///套口水闸数据 modelbus /// public static string API_TaoKou_GetSensorData = ModbusSeverAddress + "/api/sensor_data?station_name=taokou"; /// /// 获取传感器设备列表 套口&补元 /// public static string API_GetAllSensorList = YZTServerAddress + "/open/sensor/list"; /// /// 补元水闸获取硬件组 最后一条数据 /// public static string API_BuYuan_GetDevicesGroupInfo = YZTServerAddress + "/open/ascData"; /// /// 补元水闸获取硬件 最后一条数据 /// public static string API_BuYuan_GetSingleDevicesInfo = YZTServerAddress + "/open/ascData"; /// /// 补元水闸获取硬件数据-小时-日-月 /// public static string API_BuYuan_GetSingleDevicesInfo_avg = YZTServerAddress + "/get_data_by_avg"; public static string API_TextureUploadPath = YZTServerPYAddress + "/upload"; public static string API_B08_dataStatis = YZTServerAddress + "/open/dataStatis?projectId="; public static string API_B08_inspectResult = YZTServerAddress + "/open/inspectResult?projectId="; public static string API_B08_projectExamine = YZTServerAddress + "/open/projectExamine?projectId="; public static string API_B08_event = YZTServerAddress + "/open/event?projectId="; public static string API_B08_questionStatis = YZTServerAddress + "/open/questionStatis?projectId="; //public static string API_B08_inspectType = YZTServerAddress + "/open/inspectType?projectId="; public static string API_B08_inspectType = YZTServerAddress + "/open/xunjianType?projectid="; //拿任务详细信息 public static string API_B08_taskInfo = YZTServerAddress + "/open/xunjianrenwu?projectid="; /// /// 获取站点水位信息(折线图和信息列表) /// public static string API_GetWaterTrend_chart = YZTServerAddress + "/open/water1?stcd="; public static string API_GetWaterTrend_list = YZTServerAddress + "/open/water2?stcd="; public static string API_GetWaterData = YZTServerAddress + "/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"; /// /// 获取大屏的水闸数据 /// public static string APIGetFloodGateData = YZTServerAddress + "/open/data/gateStatusData"; /// /// 获取大屏的水文数据 /// public static string APIGetHydrologicalData = YZTServerAddress + "/open/data/shuiwenjiance"; /// /// 获取大屏的预警数据 /// public static string APIGetAlertData = YZTServerAddress + "/open/data/alertData"; /// /// 获取大屏的运维数据 /// public static string APIGetInspectionStatistics = YZTServerAddress + "/open/data/inspectionStatistics"; }