Exemple #1
0
        public override void ApplyState(DeviceBase.DeviceState state)
        {
            base.ApplyState(state);

            NexaLampState currentState = (NexaLampState)mState;
            NexaLampState newState     = (NexaLampState)state;

            Debug.Assert(newState.Address == currentState.Address);
            Debug.Assert(newState.Unit == currentState.Unit);
        }
Exemple #2
0
 public NexaLampState(NexaLampState state)
     : base(state)
 {
     Address = state.Address;
     Unit    = state.Unit;
 }
Exemple #3
0
 public NexaLampState(NexaLampState state)
     : base(state)
 {
     Address = state.Address;
     Unit = state.Unit;
 }