void FanSpeedChanged_Event(object sender, EventArgs e) { int printerFanSpeed = PrinterCommunication.Instance.FanSpeed; fanSpeedDisplay.SetDisplayString(printerFanSpeed.ToString()); }
void FanSpeedChanged_Event(object sender, EventArgs e) { int printerFanSpeed = PrinterCommunication.Instance.FanSpeed0To255; fanSpeedDisplay.SetDisplayString(((int)(printerFanSpeed * 100.5 / 255)).ToString()); }