using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IOTContainer.Model { public class MachineItem { /// /// 设备名称 /// public string name { get; set; } /// /// 设备编码 /// public string code { get; set; } /// /// 设备类型 1导视 2信发 3游戏 /// public string machineTypeName { get; set; } /// /// 设备属性 0触摸 1非触摸 /// public int attribute { get; set; } } public class FloorItem { /// /// 名称 /// public string name { get; set; } /// /// /// public string code { get; set; } /// /// /// public ObservableCollection machine { get; set; } } public class BuildingItem { /// /// 名称 /// public string name { get; set; } /// /// /// public string code { get; set; } /// /// /// public ObservableCollection floor { get; set; } } public class Data { /// /// 名称 /// public string name { get; set; } /// /// /// public string code { get; set; } /// /// /// public ObservableCollection building { get; set; } } public class MachineModel { /// /// /// public int code { get; set; } /// /// /// public string msg { get; set; } /// /// /// public Data data { get; set; } } public class Project { public string projectCode { get; set; } public string projectName { get; set; } public ObservableCollection building { get; set; } } public class MQTTModel { public string Server { get; set; } public string Port { get; set; } } }