From 886e64ad39937658442b4d9cd5538bc972ae1ada Mon Sep 17 00:00:00 2001 From: wenjy Date: Mon, 29 Jan 2024 09:09:19 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20Hsl=E7=89=88=E6=9C=AC=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E8=87=B311.8.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.Plc/PlcPool.cs | 4 ++-- SlnMesnac.Plc/SlnMesnac.Plc.csproj | 2 +- SlnMesnac.WPF/appsettings.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SlnMesnac.Plc/PlcPool.cs b/SlnMesnac.Plc/PlcPool.cs index 81d43fa..1b523fd 100644 --- a/SlnMesnac.Plc/PlcPool.cs +++ b/SlnMesnac.Plc/PlcPool.cs @@ -33,11 +33,11 @@ namespace SlnMesnac.Plc } public void Init() { - if (!HslCommunication.Authorization.SetAuthorizationCode("ed1415f8-e06a-43ad-95f7-c04f7ae93b41")) + if (!HslCommunication.Authorization.SetAuthorizationCode("1839541f-8fb4-42c4-a13f-733b027fe5af")) { _logger.LogInformation("HslCommunication激活失败,可用时长24小时"); } - _logger.LogInformation("HslCommunication 11.0.6.0激活成功"); + _logger.LogInformation("HslCommunication 11.8.1.0激活成功"); try { diff --git a/SlnMesnac.Plc/SlnMesnac.Plc.csproj b/SlnMesnac.Plc/SlnMesnac.Plc.csproj index 9f89a4f..4074e53 100644 --- a/SlnMesnac.Plc/SlnMesnac.Plc.csproj +++ b/SlnMesnac.Plc/SlnMesnac.Plc.csproj @@ -6,7 +6,7 @@ - + diff --git a/SlnMesnac.WPF/appsettings.json b/SlnMesnac.WPF/appsettings.json index 4235900..6a0c7e1 100644 --- a/SlnMesnac.WPF/appsettings.json +++ b/SlnMesnac.WPF/appsettings.json @@ -25,7 +25,7 @@ { "configId": 1, "plcType": "MelsecBinaryPlc", - "plcIp": "127.0.0.1", //192.168.1.71 + "plcIp": "127.0.0.1", "plcPort": 6000, "plcKey": "mcs" },