| | |
| | | ///// </summary> |
| | | //public static string gatewayId = DriverLayer.Control.Ins.GatewayId; |
| | | |
| | | public static string homeId = UserInfo.Current.CurReginID; |
| | | //public static string homeId = UserInfo.Current.CurReginID; |
| | | |
| | | /// <summary> |
| | | /// 网关ID(获取嘉乐网关ID) |
| | |
| | | { |
| | | get |
| | | { |
| | | if (Entity.DB_ResidenceData.residenceData.HomeGateway == null) |
| | | if (Entity.DB_ResidenceData.Instance.HomeGateway == null) |
| | | { |
| | | return ""; |
| | | return DriverLayer.Control.Ins.GatewayId; |
| | | } |
| | | return Entity.DB_ResidenceData.residenceData.HomeGateway.gatewayId; |
| | | return Entity.DB_ResidenceData.Instance.HomeGateway.gatewayId; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 住宅ID |
| | | /// </summary> |
| | | public static string homeId = Entity.DB_ResidenceData.residenceData.residecenInfo.RegionID; |
| | | public static string homeId = Entity.DB_ResidenceData.Instance.CurrentRegion.RegionID; |
| | | |
| | | |
| | | /// <summary> |