From 9e2ae94d2d3f79fe063fcad7f01867348dc65e1d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 22 六月 2022 14:26:22 +0800 Subject: [PATCH] 备份 --- Crabtree/SmartHome/HDL/Operation/ResponseEntity/Timer.cs | 88 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 88 insertions(+), 0 deletions(-) diff --git a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/Timer.cs b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/Timer.cs index 65d2dd4..30d6d74 100644 --- a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/Timer.cs +++ b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/Timer.cs @@ -69,6 +69,63 @@ /// 鏃跺尯 /// </summary> public int TimeZone { get; set; } + } + + /// <summary> + /// 鏃ф湇鍔″櫒杩佺Щ杩囨潵鐨勫璞� + /// </summary> + [Serializable] + public class Timer_Old + { + /// <summary> + /// 瀹氭椂鍣ㄧ殑鍞竴ID + /// </summary> + public string Guid { get; set; } + + /// <summary> + /// 瀹氭椂鍣ㄥ娉ㄥ悕 + /// </summary> + public string TimerName { get; set; } + + /// <summary> + /// 缃戝叧ID + /// </summary> + public int RegionID { get; set; } + + /// <summary> + /// 鎵ц鏃堕棿鐐� + /// </summary> + public string ExecutionTime { get; set; } + + /// <summary> + /// 閲嶅鍛ㄦ湡 + /// </summary> + public string Periodicity { get; set; } + + /// <summary> + /// 鏄惁鍚敤 + /// </summary> + public bool IsStart { get; set; } + + /// <summary> + /// 瀹氭椂鍣ㄩ噸澶嶇被鍨� + /// </summary> + public TimerType TimerType { get; set; } + + /// <summary> + /// 鎺у埗鐨勮澶囨暟鎹� + /// </summary> + public string ControlDeviceData = ""; + + /// <summary> + /// 鎴块棿鍚嶇О + /// </summary> + public string RoomName { get; set; } + + /// <summary> + /// 鏃跺尯 + /// </summary> + public int TimeZone { get; set; } } @@ -137,4 +194,35 @@ } + + /// <summary> + /// 鏃у钩鍙板畾鏃跺櫒鐨勬帶鍒舵暟鎹� + /// </summary> + public class DeviceInfo + { + public string DevicePath { get; set; } + + public int DeviceType { get; set; } + + public byte SubnetID { get; set; } + + public byte DeviceID { get; set; } + + public byte LoopID { get; set; } + + public int Command { get; set; } + + public byte [] SendBytes { get; set; } + public DeviceType Type; + public string SavePath; + public string CommonLoopID { + get { + return SubnetID.ToString () + "_" + DeviceID.ToString () + "_" + LoopID.ToString (); + } + } + public string Name; + } + + + } -- Gitblit v1.8.0