Beispiel #1
0
 public int Do_LED_GetBright(ref TSenderParam param)
 {
     return LED_GetBright(ref param);
 }
Beispiel #2
0
 public int Do_LED_AdjustTimeEx(ref TSenderParam param, ref TSystemTime time)
 {
     return LED_AdjustTimeEx(ref param, ref time);
 }
Beispiel #3
0
 public int Do_LED_Cache_SetBoardParam(ref TSenderParam param)
 {
     return LED_Cache_SetBoardParam(ref param);
 }
Beispiel #4
0
 public int Do_LED_SetPower(ref TSenderParam param, Int32 value)
 {
     return LED_SetPower(ref param, value);
 }
Beispiel #5
0
 private static extern int LED_AdjustTimeEx(ref TSenderParam param, ref TSystemTime time);
Beispiel #6
0
 public int Do_LED_GetTemperatureHumidity(ref TSenderParam param)
 {
     return LED_GetTemperatureHumidity(ref param);
 }
Beispiel #7
0
 public int Do_LED_ResetDisplay(ref TSenderParam param)
 {
     return LED_ResetDisplay(ref param);
 }
Beispiel #8
0
 private static extern int LED_Reboot(ref TSenderParam param);
Beispiel #9
0
 private static extern int LED_ResetDisplay(ref TSenderParam param);
Beispiel #10
0
 private static extern int LED_GetPower(ref TSenderParam param);
Beispiel #11
0
 private static extern int LED_GetTemperatureHumidity(ref TSenderParam param);
Beispiel #12
0
 private static extern int LED_GetPlayContent(ref TSenderParam param);
Beispiel #13
0
 private static extern int LED_GetBright(ref TSenderParam param);
Beispiel #14
0
 private static extern int LED_Cache_SetBoardParam(ref TSenderParam param);
Beispiel #15
0
 public int Do_LED_GetPlayContent(ref TSenderParam param)
 {
     return LED_GetPlayContent(ref param);
 }
Beispiel #16
0
 private static extern int LED_SendToScreen(ref TSenderParam param, Int32 index);
Beispiel #17
0
 public int Do_LED_GetPower(ref TSenderParam param)
 {
     return LED_GetPower(ref param);
 }
Beispiel #18
0
 private static extern int LED_SetBright(ref TSenderParam param, Int32 value);
Beispiel #19
0
 public int Do_LED_Reboot(ref TSenderParam param)
 {
     return LED_Reboot(ref param);
 }
Beispiel #20
0
 private static extern int LED_SetPower(ref TSenderParam param, Int32 value);
Beispiel #21
0
 public int Do_LED_SendToScreen(ref TSenderParam param, Int32 index)
 {
     LED_Compress(index);
     return LED_SendToScreen(ref param, index);
 }
Beispiel #22
0
 public int Do_LED_AdjustTime(ref TSenderParam param)
 {
     return LED_AdjustTime(ref param);
 }
        public void sendTxtToLED(string tmpTxt, m_terminaldevice deviceLED)
        {
            try
            {
                logger.DebugFormat("****Start to Send LED TXT:{0}", tmpTxt);
                TSenderParam param = new TSenderParam();
                ushort K;

                GetDeviceParam(ref param.devParam, deviceLED);

                param.notifyMode = LEDSender.NOTIFY_EVENT;
                // param.wmHandle = (UInt32)Handle;
                param.wmMessage = WM_LED_NOTIFY;

                K = (ushort)LEDSender.Do_MakeRoot(LEDSender.ROOT_PLAY, LEDSender.COLOR_MODE_DOUBLE, LEDSender.SURVIVE_ALWAYS);
                LEDSender.Do_AddChapter(K, 30000, LEDSender.WAIT_CHILD);
                LEDSender.Do_AddRegion(K, 0, 0, 128, 32, 0);

                //第1页面
                LEDSender.Do_AddLeaf(K, 1000, LEDSender.WAIT_CHILD);
                //16点阵字体"01234567890123456789"
                LEDSender.Do_AddString(K, 0, 0, 512, 16, LEDSender.V_TRUE, 0,
                    tmpTxt,
                    LEDSender.FONT_SET_16, 0xff, 1, 1, 2, 1, 0, 1, 1000);

                //send
                Parse(LEDSender.Do_LED_SendToScreen(ref param, K), tmpTxt);
            }
            catch (Exception ex)
            {
                logger.Error(ex);
            }
        }
Beispiel #24
0
 private static extern int LED_AdjustTime(ref TSenderParam param);