Ejemplo n.º 1
0
        public int SendLedInfoTest()
        {
            int result = -1;

            if (hand <= 0 && CreateClient() > 0)
            {
                string  sendText = string.Format("任务类型:整盘入库\n托盘条码:P00010\n仓位:L-001-002-002-000\n物料:2001020401,10\n物料:2001020402,10\n物料:2001020403,100\n物料:2001020404,100");
                LedInfo ledinfo  = new LedInfo(sendText);
                result = Led5kSDK.SCREEN_SendDynamicArea(hand, ledinfo.bx_5k, (ushort)ledinfo.AreaText.Length, ledinfo.AreaText);
            }

            return(result);
        }
Ejemplo n.º 2
0
        public int SendLedInfo(string sendText)
        {
            int result = 0;

            if (hand <= 0)
            {
                CreateClient();
            }
            LedInfo ledinfo = new LedInfo(sendText);

            result = Led5kSDK.SCREEN_SendDynamicArea(hand, ledinfo.bx_5k, (ushort)ledinfo.AreaText.Length, ledinfo.AreaText);
            return(result);
        }