升级 ,以及修复一些BUG
This commit is contained in:
@@ -1230,9 +1230,10 @@ namespace RCUHost.Implement
|
||||
string CODE = context111.SystemHeader.Value.HostNumber.ToHotelCode().ToString();
|
||||
string hotelCode = CODE;
|
||||
string EndPoint = context111.RemoteEndPoint.ToString();
|
||||
//if (cmdType != 0x01)
|
||||
if (cmdType != 0x01 && cmdType != 0xb1)
|
||||
//if (!(cmdType==0x01||cmdType==0xb1) )
|
||||
//在线状态 不排队 注册0x01
|
||||
if (true)
|
||||
//if (true)
|
||||
{
|
||||
#region 只要有数据包,就是心跳
|
||||
string EndPointStr = context111.RemoteEndPoint.ToString();
|
||||
@@ -1833,6 +1834,10 @@ namespace RCUHost.Implement
|
||||
|
||||
string HostID = CSRedisCacheHelper.HMGet<string>(5, CacheKey.HostId_HostNumber, HostNNN)[0];
|
||||
string RoomNUMBER = CSRedisCacheHelper.HMGet<string>(5, CacheKey.RoomNumber_HostNumber, HostNNN)[0];
|
||||
if (string.IsNullOrEmpty(RoomNUMBER))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
List<DingShiReportDate> DeviceList = new List<DingShiReportDate>();
|
||||
@@ -2051,7 +2056,7 @@ namespace RCUHost.Implement
|
||||
ccc.UpdateTime = DateTime.Now;
|
||||
ccc.Modal = new RoomTypeModalCache() { };
|
||||
ccc.AirConditionData = new AirConditionData();
|
||||
CSRedisCacheHelper.Set_Partition<HostModal_Cache>(KKey,ccc);
|
||||
CSRedisCacheHelper.Set_Partition<HostModal_Cache>(KKey, ccc);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user