Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public NexaLampState(NexaLampState state)
     : base(state)
 {
     Address = state.Address;
     Unit    = state.Unit;
 }
Exemplo n.º 3
0
 public NexaLampState(NexaLampState state)
     : base(state)
 {
     Address = state.Address;
     Unit = state.Unit;
 }