|
|
@@ -95,7 +95,7 @@ namespace MeterPlugInLibrary
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public void setTwoLineMsg(string Ip)
|
|
|
+ public void setTwoLineMsg(string Ip, string msg1, string msg2)
|
|
|
{
|
|
|
int nResult;
|
|
|
LedDll.COMMUNICATIONINFO CommunicationInfo = new LedDll.COMMUNICATIONINFO();//定义一通讯参数结构体变量用于对设定的LED通讯,具体对此结构体元素赋值说明见COMMUNICATIONINFO结构体定义部份注示
|
|
|
@@ -145,7 +145,7 @@ namespace MeterPlugInLibrary
|
|
|
FontProp.FontBold = 0;
|
|
|
//int nsize = System.Runtime.InteropServices.Marshal.SizeOf(typeof(LedDll.FONTPROP));
|
|
|
|
|
|
- nResult = LedDll.LV_QuickAddSingleLineTextArea(hProgram, 1, 2, ref AreaRect, LedDll.ADDTYPE_STRING, "湖南视拓信息技术", ref FontProp, 4);//快速通过字符添加一个单行文本区域,函数见函数声明注示
|
|
|
+ nResult = LedDll.LV_QuickAddSingleLineTextArea(hProgram, 1, 2, ref AreaRect, LedDll.ADDTYPE_STRING, msg1, ref FontProp, 4);//快速通过字符添加一个单行文本区域,函数见函数声明注示
|
|
|
|
|
|
|
|
|
AreaRect.left = 0;
|