public void OffPort() { On = false; OnOfPortEvent?.Invoke(this, On); }
public void OnPort() { On = true; OnOfPortEvent?.Invoke(this, On); }