| | |
| | | /// 版本号 |
| | | /// </summary> |
| | | public static string VersionString = "1.0.0924"; |
| | | /// <summary> |
| | | /// 客户端类型 |
| | | /// </summary> |
| | | public static string ClientType = APIClientType.HDL_ON_PRO.ToString(); |
| | | ///// <summary> |
| | | ///// 客户端类型 |
| | | ///// </summary> |
| | | //public static string ClientType = APIClientType.HDL_ON_PRO.ToString(); |
| | | |
| | | /// <summary> |
| | | /// |
| | |
| | | } |
| | | else |
| | | { |
| | | //UdpSocket._BusSocket.Start(); |
| | | //UdpSocket._BusSocket.Start(); |
| | | //if (Entity.DB_ResidenceData.residenceData.GatewayType == 1) |
| | | //{ |
| | | // BusSocket.Start(); |
| | |
| | | // BusSocket.Start(); |
| | | // CommonPage.InitReceiveEvent(); |
| | | //} |
| | | |
| | | new System.Threading.Thread(() => |
| | | { |
| | | var pm = new DAL.Server.HttpServerRequest(); |
| | | pm.RefreshToken();//刷新Token |
| | | pm.GetHomePager();//刷新住宅信息 |
| | | }) |
| | | { IsBackground = true }.Start(); |
| | | new System.Threading.Thread(() => |
| | | { |
| | | var pm =new DAL.Server.HttpServerRequest(); |
| | | pm.GetUserInfo();//刷新个人信息 |
| | | }) |
| | | { IsBackground = true }.Start(); |
| | | new System.Threading.Thread(() => |
| | | { |
| | | var pm = new DAL.Server.HttpServerRequest(); |
| | | pm.GetHomePager();//刷新住宅信息 |
| | | }) |
| | | { IsBackground = true }.Start(); |
| | | |
| | | GoUserPage(); |
| | | //启动密码验证 |
| | | new AppUnlockPage().LoadPage(); |