| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | |
| | | namespace HDL_ON.Entity |
| | | { |
| | | public class A_Protocol_FunctionInfo |
| | |
| | | 举例: 0001-00-2019101209001234-01-0001-0001 |
| | | */ |
| | | |
| | | public A_Protocol_FunctionInfo() |
| | | { |
| | | dicPropert = new Dictionary<string, string>(); |
| | | if (!string.IsNullOrEmpty(trait)) |
| | | { |
| | | foreach (string t in trait.Split(",", StringSplitOptions.None)) |
| | | { |
| | | dicPropert.TryAdd(t, ""); |
| | | } |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 功能类别 |
| | | /// 如:空调类、灯光类、窗帘类 |
| | |
| | | /// </summary> |
| | | public string trait = ""; |
| | | |
| | | //string _trait; |
| | | |
| | | /// <summary> |
| | | /// 功能附带的属性与值的列表 |
| | | /// </summary> |
| | | public Dictionary<string, string> dicPropert; |
| | | } |
| | | } |