Beispiel #1
0
        public string closeDevice()
        {
            if (iDevice <= 0)
            {
                return("无当前设备");
            }
            try
            {
                //关闭LCD
                setLCDBright(false);
                //清空显示文本
                E7Lib.fw_lcd_dispclear(iDevice);
                //关闭设备
                E7Lib.fw_exit(iDevice);

                return("OK");
            } catch (Exception ex)
            {
                return(ex.Message);
            }
        }