示例#1
0
 public void SetState(LedState ledState) => State = ledState;
示例#2
0
 public LedController(string label, LedColor ledColor = LedColor.Amber)
 {
     Label = label;
     Color = ledColor;
     State = new LedState(false);
 }