private void OnStateChanged(LiftState state) => _text.text = state.ToString();
public BeerLiftMessage(string deviceId, int stateA, int stateB, LiftState state) : this(deviceId, stateA, stateB) { this.liftState = state.ToString(); }
public AmbiantResponse(LiftState state) { liftState = state.ToString(); responseState = 0; }