接入设备:BS-460

This commit is contained in:
lishuang 2024-12-17 14:22:44 +08:00
commit 1b7539a083
3 changed files with 63 additions and 45 deletions

View File

@ -58,6 +58,15 @@
<!--帝迈血常规DF55-->
<add key="DF55-2" value="PC-202106061449,DF55-2,121,127.0.0.1,5600,GB18030" />
<!--尿常规U120-->
<add key="U120" value="user-PC,U120,89,COM1,4800,NONE,8,1,GB18030" />
<!--BS-330E-->
<add key="BS-330E" value="PC-202106061449,BS-330E,121,127.0.0.1,5600,GB18030" />
<!-- BC-5120 -->
<add key="BC-5120" value="PC-202106061449,BC-5120,121,127.0.0.1,5600,GB18030" />
<add key="MA-4210" value="wstwsy-PC,MA-4210,90,COM1,9600,NONE,8,1" />
<!--迈瑞BS-460-->
<add key="BS-460" value="User-2024H-II,BS-460,91,127.0.0.1,6688,GB18030" />

View File

@ -2014,6 +2014,13 @@ namespace FlyDockTool
ermList.Add(erm1);
}
if (apiOptions.CurrentDevice == "BC-5120")//BC-5120
{
string MachineCode = apiOptions.MachineCode;
string MachineID = apiOptions.MachineID;
deviceDataStr = deviceDataStr.Replace("\r", "").Replace("\n", "");
//string[] resulteArray = deviceDataStr.Split('\n');
string sampleNo1 = string.Empty;//样本号
//将结果提交到LIS系统

View File

@ -24,6 +24,8 @@ namespace FlyDockTool
private void Form1_Load(object sender, EventArgs e)
{
string CurrentDevice= ConfigurationManager.AppSettings["CurrentDevice"];
apiOptions.CurrentDevice = CurrentDevice;
apiOptions.MacAddress = ConfigurationManager.AppSettings[CurrentDevice].Split(',')[0];