change - 激活码激活Hsl模块

dev
wenjy 8 months ago
parent 0164b9529d
commit 068a66e70a

@ -48,6 +48,18 @@ namespace SlnMesnac.Extensions
try
{
do
{
if (!HslCommunication.Authorization.SetAuthorizationCode("1839541f-8fb4-42c4-a13f-733b027fe5af"))
{
Log.Information("HslCommunication激活失败可用时长为24小时");
break;
}
else
{
Log.Information("HslCommunication激活成功");
}
if (appConfig.plcConfig != null)
{
foreach (var item in appConfig.plcConfig)
@ -76,6 +88,7 @@ namespace SlnMesnac.Extensions
}
}
}
}while(false);
}
catch (Exception e)
{

Loading…
Cancel
Save