1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- using XRTool.Util;
- using System.Net;
- using System.Security.Cryptography.X509Certificates;
- public class HttpActionLang : Singleton<HttpActionLang>
- {
- public const string signal_certification = "/cmcc-endustry/v1/signal/certification";
- public const string signal_contact = "/cmcc-endustry/v1/signal/contact";
- public const string rtc_CreateRoom = "/cmcc-endustry/v1/rtc/createRoom";
- public const string rtc_JoinRoom = "/cmcc-endustry/v1/rtc/joinRoom";
- public const string login = "/cmcc-endustry/v1/user/login";
- public const string userinfo = "/cmcc-endustry/v1/user/info";
- public const string apply = "/cmcc-endustry/v1/assistance/apply";
- public const string cancel_Apply = "/cmcc-endustry/v1/assistance/cancel";
- public const string inspection_begin = "/cmcc-endustry/v1/inspection/begin";
- public const string inspection_step = "/cmcc-endustry/v1/inspection/step";
- public const string storage_inspectionCredential = "/cmcc-endustry/v1/storage/inspectionCredential";
- public const string storage_roomCredential = "/cmcc-endustry/v1/storage/roomCredential";
- public const string rtc_leave = "/cmcc-endustry/v1/assistance/leave";
-
-
-
-
-
- public const string bladeServer = "/cmcc-endustry/v1/navigation/device";
-
-
-
- public const string sceneInit = "/cmcc-endustry/v1/navigation/cabinet";
-
-
-
- public const string updateCabinet = "/cmcc-endustry/v1/navigation/updateCabinet";
-
-
-
- public const string updateTag = "/cmcc-endustry/v1/navigation/updateRoomTagData";
- public string mqttSocket ="";
- public string mqttPort = "";
- public static void BypassSSLValidation()
- {
- System.Net.ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;
-
- ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
- }
- }
|