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