123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- 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";
-
- /// <summary>
- /// 获取一张图所有工程数据
- /// </summary>
- public static string APIGetWaterManagerProject = YZTServerAddress + "/get-water-management-projects";
- /// <summary>
- /// 获取一张图所有热点数据
- /// </summary>
- public static string APIGetWaterHotPoint = YZTServerAddress + "/get-hot-point-data";
- /// <summary>
- /// 获取蓄洪概况大事件所有数据
- /// </summary>
- public static string APIGetGetProjectMilestones = YZTServerAddress + "/get-project-milestones";
- /// <summary>
- /// 获取人口转移所有路径数据
- /// </summary>
- public static string APIGetGetMovePlans = YZTServerAddress + "/get-move-plans";
- /// <summary>
- /// 获取人口转移基础数据
- /// </summary>
- public static string APIGetGeBaseData = YZTServerAddress + "/get-rkzy-base-data";
- /// <summary>
- /// 获取气象站检测数据
- /// </summary>
- public static string APIGetGeQXZData = YZTServerAddress + "/get-six-hour-qx-data?hours=24";
- /// <summary>
- /// 获取水文站检测数据
- /// </summary>
- public static string APIGetGeSWZData = YZTServerAddress + "/get-six-hour-sw-data?hours=24";
- /// <summary>
- /// 获取重点地区水位检测数据
- /// </summary>
- public static string APIGetGeSWData = YZTServerAddress + "/get-sw-height-data";
- /// <summary>
- /// 获取三线水位数据
- /// </summary>
- public static string APIGetThreeLevel = YZTServerAddress + "/get-swyj-base-data";
- /// <summary>
- /// 获取蓄洪概况图片位置
- /// </summary>
- public static string ServerPicPath = "http://www.chatgpt918.top:15001/projectImages/";
- /// <summary>
- ///补元水闸数据 modelbus
- /// </summary>
- public static string API_BuYuan_GetSensorData = "http://111.4.141.191:8300/api/sensor_data";
- /// <summary>
- /// 补元水闸获取硬件组 最后一条数据
- /// </summary>
- public static string API_BuYuan_GetDevicesGroupInfo = YZTServerAddress + "/get_last_datas";
-
- /// <summary>
- /// 补元水闸获取硬件 最后一条数据
- /// </summary>
- public static string API_BuYuan_GetSingleDevicesInfo = YZTServerAddress + "/get_last_data";
-
- /// <summary>
- /// 补元水闸获取硬件数据-小时-日-月
- /// </summary>
- 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=";
-
- /// <summary>
- /// 获取站点水位信息(折线图和信息列表)
- /// </summary>
- 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";
- }
|