using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MECF.Framework.Common.Device.PowerSupplier { public class PowerSupplierCommand { /// /// 通道 /// public byte Channel { get; set; } /// /// 功能码 /// public byte CommandCode { get; set; } /// /// 变量集合 /// public Dictionary Variables { get; set; } = new Dictionary(); /// /// 寄存器地址 /// public ushort Address { get; set; } /// /// 寄存器数量 /// public ushort RegisterCount { get; set; } /// /// 设置数据数组 /// public ushort[] Datas { get; set; } } }