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); }
public NexaLampState(NexaLampState state) : base(state) { Address = state.Address; Unit = state.Unit; }