void FanSpeedChanged_Event(object sender, EventArgs e)
        {
            int printerFanSpeed = PrinterCommunication.Instance.FanSpeed;

            fanSpeedDisplay.SetDisplayString(printerFanSpeed.ToString());
        }
示例#2
0
        void FanSpeedChanged_Event(object sender, EventArgs e)
        {
            int printerFanSpeed = PrinterCommunication.Instance.FanSpeed0To255;

            fanSpeedDisplay.SetDisplayString(((int)(printerFanSpeed * 100.5 / 255)).ToString());
        }