Files
Web_CRICS_Server_VS2010_Prod/Common/UDPPackageCount.cs
TianMaiCheng f9fe3a36e6 添加查询缓存
有一些效果,原来10分钟就会崩溃的,现在延长了一个小时,不过有的时候,还是会崩溃
2025-12-29 15:03:58 +08:00

58 lines
1.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Concurrent;
namespace Common
{
public class WebAPI_TongJi
{
public static long GetRoomAirList = 0;
public static long SetRCUAir = 0;
public static long GetRoomSceneList = 0;
public static long SetRCUScene = 0;
public static long GetRoomLightList =0;
public static long SetRCULight = 0;
public static long GetRoomCurtainList = 0;
public static long SetRCUCurtain = 0;
public static long GetRoomServiceList = 0;
public static long SetRCUService = 0;
public static long GetOperationLog = 0;
public static long GetRoomMusicList = 0;
public static long SetRCUMusic = 0;
public static long GetRCUStatus = 0;
public static long GetAirDetectList = 0;
public static long GetHostFaultList = 0;
public static long GetRoomTypeAndModalsList = 0;
public static long GetRCUInfoForPDU = 0;
public static long GetSessionKey = 0;
public static long GetPhoneNumber = 0;
public static long GetHotelInfoForWX = 0;
}
public class YUANZI_TongJi
{
public static long TotalReceiveCount = 0;
public static long TotalErrorPackageReceiveCount = 0;
}
public class UDPPackageCount
{
public long Count { get; set; }
public ConcurrentDictionary<string, long> FenLei { get; set; }
}
public class UDPPackage
{
public string CommandType { get; set; }
public long TotalCount { get; set; }
public ConcurrentDictionary<string, long> FenLei { get; set; }
public ConcurrentDictionary<string, string> ExtraData { get; set; }
public string RemoveTime { get; set; }
}
public class Block_NameList
{
public string HotelCode { get; set; }
public List<string> HostNumberList;
}
}