增加电量报警模块
但是只是一部分功能
This commit is contained in:
@@ -1721,9 +1721,9 @@ namespace RCUHost.Implement
|
||||
CSRedisCacheHelper.Set_Partition<HostModal_Cache>(KKey, hostModal);
|
||||
|
||||
//只有服务信息才会入库
|
||||
bool isonly_serviceinfo = true;
|
||||
//if (hostModal.ModalType == DeviceType.ServiceInfo)
|
||||
if (isonly_serviceinfo)
|
||||
//bool isonly_serviceinfo = true;
|
||||
if (hostModal.ModalType == DeviceType.ServiceInfo)
|
||||
//if (isonly_serviceinfo)
|
||||
{
|
||||
|
||||
HostModal FinallyData = new HostModal();
|
||||
@@ -1973,9 +1973,7 @@ namespace RCUHost.Implement
|
||||
else
|
||||
{
|
||||
string NoKey = CacheKey.HostModalStatus_BoolFilterPrefix + "_" + host.ID + "_" + device.Value.Address;
|
||||
//var expiredata = new Random().Next(10, 50);
|
||||
CSRedisCacheHelper.Set_PartitionWithTime<int>(NoKey, 1, 30);
|
||||
//logger.Error("内存和数据库都不见这条数据:" + KKey);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user