| | |
| | | /// </summary> |
| | | public class Logic |
| | | { |
| | | |
| | | /// <summary> |
| | | /// 逻辑列表 |
| | | /// </summary> |
| | | public static List<Logic> LogicList = new List<Logic>(); |
| | | /// <summary> |
| | | /// 当前逻辑 |
| | | /// </summary> |
| | | public static Logic currlogic; |
| | | /// <summary> |
| | | /// 云端唯一id |
| | | /// </summary> |
| | | public string userLogicId = ""; |
| | | /// <summary> |
| | | /// 逻辑唯一标识 |
| | | /// </summary> |
| | |
| | | /// 时间类型 |
| | | /// (执行一次:once,每天:day,每月:mon,星期:week,日期段:date_to_date) |
| | | /// </summary> |
| | | public string type = ""; |
| | | public string type = "day"; |
| | | public List<string> value = new List<string>(); |
| | | } |
| | | /// <summary> |
| | |
| | | /// 逻辑输出目标类型 |
| | | /// 设备=1; |
| | | /// 场景=2; |
| | | /// 安防=3; |
| | | /// 延时=3; |
| | | /// </summary> |
| | | public string target_type = ""; |
| | | public List<Dictionary<string, string>> status = new List<Dictionary<string, string>>(); |