|
|
@ -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
|
|
|
|
{
|
|
|
|
{
|
|
|
|