wxw
8 天以前 6a738089d6471d048c32ce7f3dcbd15c935ada79
Admin.NET/WCS.Application/Util/LedDll.cs
@@ -1030,25 +1030,28 @@
            AreaRect.left = 0;
            AreaRect.top = 0;
            AreaRect.width = m_ledWidth;
            AreaRect.height = 106;
            AreaRect.height = m_ledHeight;
            LedDll.LV_AddImageTextArea(hProgram, 0, 2, ref AreaRect, 1);
            // 区域字体变量 参数设定
            LedDll.FONTPROP FontProp = new LedDll.FONTPROP();//文字属性
            FontProp.FontName = "宋体";
            FontProp.FontSize = 20;
            FontProp.FontSize = 16;
            FontProp.FontColor = LedDll.COLOR_RED;
            FontProp.FontBold = 1;
            // 区域字体运行速度 带入方式
            LedDll.PLAYPROP PlayProp = new LedDll.PLAYPROP();
            PlayProp.InStyle = 0;
            PlayProp.DelayTime = 3;
            PlayProp.Speed = 2;
            // 多文本区域 用于显示托盘信息
            nResult = LedDll.LV_AddMultiLineTextToImageTextArea(hProgram, 0, 2, LedDll.ADDTYPE_STRING, m_text, ref FontProp, ref PlayProp, 0, 0);
            nResult = LedDll.LV_AddMultiLineTextToImageTextArea(hProgram, 0, 2, LedDll.ADDTYPE_STRING, m_text, ref FontProp, ref PlayProp, 0, 1);
            // 发送到LED屏幕
            nResult = LedDll.LV_Send(ref CommunicationInfo, hProgram);