| | |
| | | /// <summary> |
| | | /// 逻辑存储数据对象 |
| | | /// </summary> |
| | | [Serializable] |
| | | public class Logic |
| | | { |
| | | |
| | |
| | | /// <summary> |
| | | /// 执行周期对象 |
| | | /// </summary> |
| | | [Serializable] |
| | | public class Cycle |
| | | { |
| | | /// <summary> |
| | |
| | | /// <summary> |
| | | /// 输入条件对象 |
| | | /// </summary> |
| | | [Serializable] |
| | | public class Input |
| | | { |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public string condition_type = ""; |
| | | public List<Dictionary<string, string>> condition = new List<Dictionary<string, string>>(); |
| | | /// <summary> |
| | | /// 地理围栏配置 |
| | | /// </summary> |
| | | public Fence geo_fence = new Fence(); |
| | | } |
| | | /// <summary> |
| | | /// 输出目标对象 |
| | | /// </summary> |
| | | [Serializable] |
| | | public class Output |
| | | { |
| | | /// <summary> |
| | | /// 逻辑输出目标唯一标识 |
| | | /// </summary> |
| | | public string sid = ""; |
| | | /// <summary> |
| | | /// 逻辑输出目标延时间(单位用秒) |
| | | /// </summary> |
| | | public string delay = "0"; |
| | | /// <summary> |
| | | /// 逻辑输出目标类型 |
| | | /// 设备=1; |