初始化
This commit is contained in:
15
CommonEntity/CacheEntity/Carbon_Cache.cs
Normal file
15
CommonEntity/CacheEntity/Carbon_Cache.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MemoryPack;
|
||||
|
||||
namespace CommonEntity.CacheEntity
|
||||
{
|
||||
[MemoryPackable]
|
||||
public partial class Carbon_Cache
|
||||
{
|
||||
public int CarbonVIP_Status { get; set; }
|
||||
}
|
||||
}
|
||||
70
CommonEntity/CacheEntity/KongTiao_Cache.cs
Normal file
70
CommonEntity/CacheEntity/KongTiao_Cache.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MemoryPack;
|
||||
|
||||
namespace CommonEntity.CacheEntity
|
||||
{
|
||||
[MemoryPackable()]
|
||||
public partial class KongTiao_Cache
|
||||
{
|
||||
/// <summary>
|
||||
/// 状态:1开,2关
|
||||
/// </summary>
|
||||
public virtual int Status
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 当前温度
|
||||
/// </summary>
|
||||
public virtual int CurrentTemp
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 设定温度
|
||||
/// </summary>
|
||||
public virtual int SettingTemp
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 风速
|
||||
/// </summary>
|
||||
public virtual int FanSpeed
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 模式
|
||||
/// </summary>
|
||||
public virtual int Mode
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 阀门
|
||||
/// </summary>
|
||||
public virtual int Valve
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 当天开启时长
|
||||
/// </summary>
|
||||
public virtual int Time
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
30
CommonEntity/CacheEntity/MyData_Cache.cs
Normal file
30
CommonEntity/CacheEntity/MyData_Cache.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MemoryPack;
|
||||
|
||||
namespace CommonEntity.CacheEntity
|
||||
{
|
||||
[MemoryPackable()]
|
||||
public partial class MyData_Cache
|
||||
{
|
||||
public long HotelCode { get; set; }
|
||||
public string? HostNumber { get; set; }
|
||||
public string? RoomNumber { get; set; }
|
||||
public string? Mac { get; set; }
|
||||
public string? EndPoint { get; set; }
|
||||
public string? Version { get; set; }
|
||||
public bool IsTakeCard { get; set; }
|
||||
public Carbon_Cache? TanDaRen { get; set; } = new Carbon_Cache();
|
||||
|
||||
public PMS_RoomStatus? PMS_RoomStatus { get; set; } = new PMS_RoomStatus();
|
||||
public TakeCard_Cache? TakeCardInfo { get; set; } = new TakeCard_Cache();
|
||||
|
||||
public List<NormalDevice_Cache>? Device_Cache_List { get; set; } = new List<NormalDevice_Cache>();
|
||||
|
||||
public List<KongTiao_Cache>? KongTiaoInfo_List { get; set; } = new List<KongTiao_Cache>();
|
||||
|
||||
}
|
||||
}
|
||||
23
CommonEntity/CacheEntity/NengHao_Cache.cs
Normal file
23
CommonEntity/CacheEntity/NengHao_Cache.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MemoryPack;
|
||||
|
||||
namespace CommonEntity.CacheEntity
|
||||
{
|
||||
[MemoryPackable()]
|
||||
public partial class NengHao_Cache
|
||||
{
|
||||
public double V { get; set; }
|
||||
public double A { get; set; }
|
||||
public double P { get; set; }
|
||||
public double KW_H { get; set; }
|
||||
public double Sum_KW_H { get; set; }
|
||||
|
||||
public long CreateTime { get; set; }
|
||||
|
||||
public DateTime ReportTime { get; set; }
|
||||
}
|
||||
}
|
||||
45
CommonEntity/CacheEntity/NormalDevice_Cache.cs
Normal file
45
CommonEntity/CacheEntity/NormalDevice_Cache.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MemoryPack;
|
||||
|
||||
namespace CommonEntity.CacheEntity
|
||||
{
|
||||
[MemoryPackable()]
|
||||
public partial class NormalDevice_Cache
|
||||
{
|
||||
/// <summary>
|
||||
/// HostID
|
||||
/// </summary>
|
||||
public virtual int HostID
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 状态:1开,2关
|
||||
/// </summary>
|
||||
public virtual int Status
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 亮度
|
||||
/// </summary>
|
||||
public virtual int Brightness
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public virtual DateTime? UpdateTime
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
16
CommonEntity/CacheEntity/PMS_RoomStatus.cs
Normal file
16
CommonEntity/CacheEntity/PMS_RoomStatus.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MemoryPack;
|
||||
|
||||
namespace CommonEntity.CacheEntity
|
||||
{
|
||||
|
||||
[MemoryPackable()]
|
||||
public partial class PMS_RoomStatus
|
||||
{
|
||||
public byte PMSStatus { get; set; }
|
||||
}
|
||||
}
|
||||
19
CommonEntity/CacheEntity/TakeCard_Cache.cs
Normal file
19
CommonEntity/CacheEntity/TakeCard_Cache.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MemoryPack;
|
||||
|
||||
namespace CommonEntity.CacheEntity
|
||||
{
|
||||
[MemoryPackable()]
|
||||
public partial class TakeCard_Cache
|
||||
{
|
||||
public byte TakeCardStatus { get; set; }
|
||||
|
||||
public byte IdentityInfo { get; set; }
|
||||
|
||||
public byte NOCardInfo { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user