change - Hsl版本更新至11.8.1.0

pull/1/head
wenjy 10 months ago
parent c9e63d0d16
commit 886e64ad39

@ -33,11 +33,11 @@ namespace SlnMesnac.Plc
} }
public void Init() 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激活失败可用时长24小时");
} }
_logger.LogInformation("HslCommunication 11.0.6.0激活成功"); _logger.LogInformation("HslCommunication 11.8.1.0激活成功");
try try
{ {

@ -6,7 +6,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="HslCommunication" Version="11.0.6" /> <PackageReference Include="HslCommunication" Version="11.8.1" />
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
</ItemGroup> </ItemGroup>

@ -25,7 +25,7 @@
{ {
"configId": 1, "configId": 1,
"plcType": "MelsecBinaryPlc", "plcType": "MelsecBinaryPlc",
"plcIp": "127.0.0.1", //192.168.1.71 "plcIp": "127.0.0.1",
"plcPort": 6000, "plcPort": 6000,
"plcKey": "mcs" "plcKey": "mcs"
}, },

Loading…
Cancel
Save