From 8af01e7ac8266b7ddd9af36abc613f86a9ba3ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=84=E5=A4=B4?= Date: Mon, 9 Sep 2024 13:59:14 +0800 Subject: [PATCH] nodyang@#hd --- RfidWeb/Form1.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/RfidWeb/Form1.cs b/RfidWeb/Form1.cs index 53cf438..2546cdc 100644 --- a/RfidWeb/Form1.cs +++ b/RfidWeb/Form1.cs @@ -17,11 +17,7 @@ namespace RfidWeb public Form1() { - if (!HslCommunication.Authorization.SetAuthorizationCode(RfidSetting.Current.HslKey)) - { - Console.WriteLine("Authorization failed! The current program can only be used for 8 hours!"); - return; // 激活失败应该退出系统 - } + InitializeComponent();