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
using System;
namespace Shared
{
    /// <summary>
    /// RCU的混合回路的继电器回路
    /// </summary>
    [System.Serializable]
    public class LightMixSwitch : LightSwitch
    {
        public LightMixSwitch ()
        {
            this.Type = DeviceType.LightMixSwitch;
            DeviceTextID = 3; //SimpleControl.R.MyInternationalizationString.Lights;
        }
 
        /// <summary>
        /// 物理回路,RCU控制的时候需要使用物理回路
        /// </summary>
        public byte PhysicsLoopID;
 
        public override string CommonLoopID {
            get {
                return SubnetID.ToString () + "_" + DeviceID.ToString () + "_" + PhysicsLoopID.ToString ();
            }
        }
    }
}