| | |
| | | /// </summary> |
| | | public string sid = ""; |
| | | /// <summary> |
| | | /// 是否允许删除(false=可以删除) |
| | | /// </summary> |
| | | public bool tag = false; |
| | | /// <summary> |
| | | /// 逻辑名称 |
| | | /// </summary> |
| | | public string name = "自动化"; |
| | | public string name = ""; |
| | | /// <summary> |
| | | /// 逻辑条件关系(与and:,或:or) |
| | | /// </summary> |
| | |
| | | /// 某个逻辑/场景的输出条件=7; |
| | | /// 地理围栏=8; |
| | | /// 空气质量=9(废弃); |
| | | /// 可视对讲=9; |
| | | /// 场景=10; |
| | | /// </summary> |
| | | public string condition_type = ""; |
| | | /// <summary> |
| | | /// condition_type=9时使用 |
| | | /// </summary> |
| | | public string identifier = ""; |
| | | /// <summary> |
| | | /// 检测类型 配合condition_type=3时使用,没有该字段、该值或0: 状态检测(每次收到状态就成立),1:动作检测(需要切换状态才成立); |
| | | /// </summary> |
| | | public string detect_type = "1"; |
| | | /// <summary> |
| | | /// 人体移动传感器(带持续时间) |
| | | /// </summary> |
| | | public string hold_time = ""; |
| | | public List<Dictionary<string, string>> condition = new List<Dictionary<string, string>>(); |
| | | /// <summary> |
| | | /// 地理围栏配置 |
| | |
| | | /// 场景=2; |
| | | /// 安防=3; |
| | | /// 延时=4; |
| | | /// 群控=5; |
| | | /// </summary> |
| | | public string target_type = ""; |
| | | public List<Dictionary<string, string>> status = new List<Dictionary<string, string>>(); |
| | |
| | | /// <summary> |
| | | /// 通知内容 |
| | | /// </summary> |
| | | public string noticeContent = "自动化已经执行";//string.Empty; |
| | | public string noticeContent = Shared.Language.StringByID(StringId.Automation)+ Shared.Language.StringByID(StringId.yizhixing); //string.Empty; |
| | | } |
| | | /// <summary> |
| | | /// 推送配置 |