using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataCollectionSystem { /// /// 采集卡通道 /// public class DeviceChannel { public int index = 0; public string Name = string.Empty; public Boolean bEnable = false; }; /// /// 设备,一个设备等于一个采集卡 /// public class MonitorDevice { public string Name = string.Empty; public string DAQHostName = string.Empty; public Boolean bEnable = false; public List DeviceChannels = new List(); }; /// /// 设备卡类型 /// public class MonitorDevices { public string Name = string.Empty; public Boolean bEnable = false; public List devices = new List(); }; public class ListMonitorDevices { public List listMonitorDevices = new List(); } }