JLChen
2020-06-04 6d55af8792cf8fbef0055e677b900fc352dba9a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
namespace Shared
{
    /// <summary>
    /// 能源插座
    /// </summary>
    [System.Serializable]
    public class LightEnergySwitch : LightSwitch
    {
        public LightEnergySwitch ()
        {
            this.Type = DeviceType.LightEnergySwitch;
            DeviceTextID = 265; //SimpleControl.R.MyInternationalizationString.ElectricalControl;
        }
 
        /// <summary>
        /// 电压
        /// </summary>
        public byte Voltage = 0;
        /// <summary>
        /// 电流
        /// </summary>
        public byte ElectricCurrent = 0;
        /// <summary>
        /// 功率
        /// </summary>
        public byte Power = 0;
        /// <summary>
        /// 电能
        /// </summary>
        public byte ElectricEnergy = 0;
    }
}