using System; namespace Shared { /// /// 能源插座 /// [System.Serializable] public class LightEnergySwitch : LightSwitch { public LightEnergySwitch () { this.Type = DeviceType.LightEnergySwitch; DeviceTextID = 265; //SimpleControl.R.MyInternationalizationString.ElectricalControl; } /// /// 电压 /// public byte Voltage = 0; /// /// 电流 /// public byte ElectricCurrent = 0; /// /// 功率 /// public byte Power = 0; /// /// 电能 /// public byte ElectricEnergy = 0; } }