Robert 3 年之前
父節點
當前提交
10cda349d8

+ 4 - 4
AwInitilizer/Initilizer.csproj

@@ -44,11 +44,11 @@
     <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
       <HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
     </Reference>
-    <Reference Include="PhihongEv.Lib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
-      <HintPath>..\packages\PhihongEv.Lib.1.0.0\lib\net40\PhihongEv.Lib.dll</HintPath>
+    <Reference Include="PhihongEv.Lib, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\packages\PhihongEv.Lib.1.0.1\lib\net40\PhihongEv.Lib.dll</HintPath>
     </Reference>
-    <Reference Include="RestSharp, Version=106.11.7.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
-      <HintPath>..\packages\RestSharp.106.11.7\lib\net452\RestSharp.dll</HintPath>
+    <Reference Include="RestSharp, Version=106.15.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
+      <HintPath>..\packages\RestSharp.106.15.0\lib\net452\RestSharp.dll</HintPath>
     </Reference>
     <Reference Include="System" />
     <Reference Include="System.Data" />

+ 11 - 0
AwInitilizer/Procedure/FirmwareBundleUploadProcedure.cs

@@ -178,6 +178,8 @@ namespace AwInitilizer.Procedure.FirmwareBundleUpload
             var updateList = UpdateData.FirmwareUpdateModels;
 
             var restClient = new RestSharp.RestClient($"https://{ServerIpAddress}");
+            restClient.ConfigureWebRequest((r) => { r.KeepAlive = true; });
+
             var request = new RestSharp.RestRequest("upgrade_iso_action.php", RestSharp.Method.POST);
             request.AlwaysMultipartFormData = true;
             request.AddHeader("Content-Type", "multipart/form-data");
@@ -200,7 +202,16 @@ namespace AwInitilizer.Procedure.FirmwareBundleUpload
             else
             {
                 LogWriter.Report(LogEvent.FirmwareUpload, "fail");
+                if (response.ErrorException!= null)
+                {
+                    LogWriter.Log(response.ErrorException.Message,isError:true,isDebugLog: true);
+                    if (response.ErrorException.InnerException != null)
+                    {
+                        LogWriter.Log(response.ErrorException.InnerException.Message, isError: true, isDebugLog: true);
+                    }
 
+                    LogWriter.Log(response.StatusCode.ToString(), isError: true, isDebugLog: true);
+                }
                 return false;
             }
         }

+ 4 - 4
AwInitilizer/Properties/AssemblyInfo.cs

@@ -50,7 +50,7 @@ using System.Windows;
 //
 // You can specify all the values or you can default the Build and Revision Numbers
 // by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.5.0.0")]
-[assembly: AssemblyVersion("1.5.0.0")]
-[assembly: AssemblyFileVersion("1.5.0.0")]
-[assembly: AssemblyInformationalVersion("5ec02c3")]
+// [assembly: AssemblyVersion("1.5.1.0")]
+[assembly: AssemblyVersion("1.5.1.0")]
+[assembly: AssemblyFileVersion("1.5.1.0")]
+[assembly: AssemblyInformationalVersion("de77dec")]

+ 2 - 2
AwInitilizer/packages.config

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packages>
   <package id="Newtonsoft.Json" version="12.0.3" targetFramework="net48" />
-  <package id="PhihongEv.Lib" version="1.0.0" targetFramework="net48" />
-  <package id="RestSharp" version="106.11.7" targetFramework="net48" />
+  <package id="PhihongEv.Lib" version="1.0.1" targetFramework="net48" />
+  <package id="RestSharp" version="106.15.0" targetFramework="net48" />
 </packages>

+ 1 - 1
GitVersion.yml

@@ -1,6 +1,6 @@
 assembly-versioning-scheme: MajorMinorPatch
 assembly-informational-format: '{ShortSha}'
-next-version: 1.5.0
+next-version: 1.5.1
 branches: {}
 ignore:
   sha: []

+ 3 - 3
Initilizer/AssemblyInfo.cs

@@ -9,7 +9,7 @@
                                               // app, or any theme specific resource dictionaries)
 )]
 
-[assembly: AssemblyVersion("1.5.0.0")]
-[assembly: AssemblyFileVersion("1.5.0.0")]
-[assembly: AssemblyInformationalVersion("5ec02c3")]
+[assembly: AssemblyVersion("1.5.1.0")]
+[assembly: AssemblyFileVersion("1.5.1.0")]
+[assembly: AssemblyInformationalVersion("de77dec")]
 

+ 117 - 101
InitlizerInstaller_Sajet2/InitlizerInstaller_Sajet2.vdproj

@@ -15,8 +15,8 @@
     {
         "Entry"
         {
-        "MsmKey" = "8:_0A77CCECA67A4EE38BE158922D24F367"
-        "OwnerKey" = "8:_UNDEFINED"
+        "MsmKey" = "8:_05118EF2A43ED0B9AAA125F381D74BBE"
+        "OwnerKey" = "8:_1E2630DF7F31454B836B15CC7791A115"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
@@ -45,14 +45,20 @@
         }
         "Entry"
         {
-        "MsmKey" = "8:_3EA005FD7871847C50921C4F6A784E3D"
-        "OwnerKey" = "8:_F7B4996F823BE05F60488C151398DC83"
+        "MsmKey" = "8:_4395E460F44F47ABBA5C142D194B263E"
+        "OwnerKey" = "8:_UNDEFINED"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
         {
-        "MsmKey" = "8:_3EA005FD7871847C50921C4F6A784E3D"
-        "OwnerKey" = "8:_1E2630DF7F31454B836B15CC7791A115"
+        "MsmKey" = "8:_79FACFFC00A74A7B81FA908023358D4E"
+        "OwnerKey" = "8:_UNDEFINED"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
+        "MsmKey" = "8:_880B13ED3DB64E0288561D5B10336D37"
+        "OwnerKey" = "8:_UNDEFINED"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
@@ -63,20 +69,20 @@
         }
         "Entry"
         {
-        "MsmKey" = "8:_B88A49CE40C9CD286D9008072F1929EB"
-        "OwnerKey" = "8:_1E2630DF7F31454B836B15CC7791A115"
+        "MsmKey" = "8:_952052ABD49E9A4C5BCED21B0492D94B"
+        "OwnerKey" = "8:_05118EF2A43ED0B9AAA125F381D74BBE"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
         {
-        "MsmKey" = "8:_C56F351EED0D473C8C91FFD4ACE607E0"
-        "OwnerKey" = "8:_UNDEFINED"
+        "MsmKey" = "8:_952052ABD49E9A4C5BCED21B0492D94B"
+        "OwnerKey" = "8:_1E2630DF7F31454B836B15CC7791A115"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
         {
-        "MsmKey" = "8:_CBAAAD8B413D43CEB3576E78C76BB64C"
-        "OwnerKey" = "8:_UNDEFINED"
+        "MsmKey" = "8:_B88A49CE40C9CD286D9008072F1929EB"
+        "OwnerKey" = "8:_1E2630DF7F31454B836B15CC7791A115"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
@@ -99,44 +105,38 @@
         }
         "Entry"
         {
-        "MsmKey" = "8:_F7B4996F823BE05F60488C151398DC83"
-        "OwnerKey" = "8:_1E2630DF7F31454B836B15CC7791A115"
-        "MsmSig" = "8:_UNDEFINED"
-        }
-        "Entry"
-        {
         "MsmKey" = "8:_UNDEFINED"
-        "OwnerKey" = "8:_26DE58F16DE805EBB03819CFE8E5F976"
+        "OwnerKey" = "8:_1E2630DF7F31454B836B15CC7791A115"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
         {
         "MsmKey" = "8:_UNDEFINED"
-        "OwnerKey" = "8:_F7B4996F823BE05F60488C151398DC83"
+        "OwnerKey" = "8:_DBCC43BD7338AA54B1F2BB1368D59976"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
         {
         "MsmKey" = "8:_UNDEFINED"
-        "OwnerKey" = "8:_3EA005FD7871847C50921C4F6A784E3D"
+        "OwnerKey" = "8:_B88A49CE40C9CD286D9008072F1929EB"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
         {
         "MsmKey" = "8:_UNDEFINED"
-        "OwnerKey" = "8:_1E2630DF7F31454B836B15CC7791A115"
+        "OwnerKey" = "8:_05118EF2A43ED0B9AAA125F381D74BBE"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
         {
         "MsmKey" = "8:_UNDEFINED"
-        "OwnerKey" = "8:_DBCC43BD7338AA54B1F2BB1368D59976"
+        "OwnerKey" = "8:_952052ABD49E9A4C5BCED21B0492D94B"
         "MsmSig" = "8:_UNDEFINED"
         }
         "Entry"
         {
         "MsmKey" = "8:_UNDEFINED"
-        "OwnerKey" = "8:_B88A49CE40C9CD286D9008072F1929EB"
+        "OwnerKey" = "8:_26DE58F16DE805EBB03819CFE8E5F976"
         "MsmSig" = "8:_UNDEFINED"
         }
     }
@@ -157,6 +157,14 @@
         "PrivateKeyFile" = "8:"
         "TimeStampServer" = "8:"
         "InstallerBootstrapper" = "3:2"
+            "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}"
+            {
+            "Enabled" = "11:TRUE"
+            "PromptEnabled" = "11:TRUE"
+            "PrerequisitesLocation" = "2:1"
+            "Url" = "8:"
+            "ComponentsUrl" = "8:"
+            }
         }
         "Release"
         {
@@ -173,6 +181,14 @@
         "PrivateKeyFile" = "8:"
         "TimeStampServer" = "8:"
         "InstallerBootstrapper" = "3:2"
+            "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}"
+            {
+            "Enabled" = "11:TRUE"
+            "PromptEnabled" = "11:TRUE"
+            "PrerequisitesLocation" = "2:1"
+            "Url" = "8:"
+            "ComponentsUrl" = "8:"
+            }
         }
     }
     "Deployable"
@@ -202,10 +218,21 @@
         }
         "File"
         {
-            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0A77CCECA67A4EE38BE158922D24F367"
+            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_05118EF2A43ED0B9AAA125F381D74BBE"
             {
-            "SourcePath" = "8:..\\..\\..\\MES\\Sajet2\\Connect Driver\\driver\\SajetConnect.dll"
-            "TargetName" = "8:SajetConnect.dll"
+            "AssemblyRegister" = "3:1"
+            "AssemblyIsInGAC" = "11:FALSE"
+            "AssemblyAsmDisplayName" = "8:MesAdaptor, Version=1.5.0.0, Culture=neutral, processorArchitecture=MSIL"
+                "ScatterAssemblies"
+                {
+                    "_05118EF2A43ED0B9AAA125F381D74BBE"
+                    {
+                    "Name" = "8:MesAdaptor.dll"
+                    "Attributes" = "3:512"
+                    }
+                }
+            "SourcePath" = "8:MesAdaptor.dll"
+            "TargetName" = "8:"
             "Tag" = "8:"
             "Folder" = "8:_E5F879CDCC274890A7E702C0B4B6B46A"
             "Condition" = "8:"
@@ -219,7 +246,7 @@
             "PackageAs" = "3:1"
             "Register" = "3:1"
             "Exclude" = "11:FALSE"
-            "IsDependency" = "11:FALSE"
+            "IsDependency" = "11:TRUE"
             "IsolateTo" = "8:"
             }
             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_26DE58F16DE805EBB03819CFE8E5F976"
@@ -293,21 +320,10 @@
             "IsDependency" = "11:FALSE"
             "IsolateTo" = "8:"
             }
-            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3EA005FD7871847C50921C4F6A784E3D"
+            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4395E460F44F47ABBA5C142D194B263E"
             {
-            "AssemblyRegister" = "3:1"
-            "AssemblyIsInGAC" = "11:FALSE"
-            "AssemblyAsmDisplayName" = "8:PhihongSystemID, Version=1.5.0.0, Culture=neutral, processorArchitecture=MSIL"
-                "ScatterAssemblies"
-                {
-                    "_3EA005FD7871847C50921C4F6A784E3D"
-                    {
-                    "Name" = "8:PhihongSystemID.dll"
-                    "Attributes" = "3:512"
-                    }
-                }
-            "SourcePath" = "8:PhihongSystemID.dll"
-            "TargetName" = "8:"
+            "SourcePath" = "8:..\\..\\..\\MES\\Sajet2\\Connect Driver_5.0.2.39\\driver\\SAJET.INI"
+            "TargetName" = "8:SAJET.INI"
             "Tag" = "8:"
             "Folder" = "8:_E5F879CDCC274890A7E702C0B4B6B46A"
             "Condition" = "8:"
@@ -321,15 +337,15 @@
             "PackageAs" = "3:1"
             "Register" = "3:1"
             "Exclude" = "11:FALSE"
-            "IsDependency" = "11:TRUE"
+            "IsDependency" = "11:FALSE"
             "IsolateTo" = "8:"
             }
-            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_89209DC6A8B3498099C558B366509478"
+            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_79FACFFC00A74A7B81FA908023358D4E"
             {
-            "SourcePath" = "8:..\\AwInitilizer\\Cultures\\StringResource.zh-TW.xaml"
-            "TargetName" = "8:StringResource.zh-TW.xaml"
+            "SourcePath" = "8:..\\..\\..\\MES\\Sajet2\\Connect Driver_5.0.2.39\\driver\\SajetConnect.ini"
+            "TargetName" = "8:SajetConnect.ini"
             "Tag" = "8:"
-            "Folder" = "8:_69A6831DCF254CD38086AB8730604CE9"
+            "Folder" = "8:_E5F879CDCC274890A7E702C0B4B6B46A"
             "Condition" = "8:"
             "Transitive" = "11:FALSE"
             "Vital" = "11:TRUE"
@@ -344,21 +360,10 @@
             "IsDependency" = "11:FALSE"
             "IsolateTo" = "8:"
             }
-            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B88A49CE40C9CD286D9008072F1929EB"
+            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_880B13ED3DB64E0288561D5B10336D37"
             {
-            "AssemblyRegister" = "3:1"
-            "AssemblyIsInGAC" = "11:FALSE"
-            "AssemblyAsmDisplayName" = "8:Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"
-                "ScatterAssemblies"
-                {
-                    "_B88A49CE40C9CD286D9008072F1929EB"
-                    {
-                    "Name" = "8:Newtonsoft.Json.dll"
-                    "Attributes" = "3:512"
-                    }
-                }
-            "SourcePath" = "8:Newtonsoft.Json.dll"
-            "TargetName" = "8:"
+            "SourcePath" = "8:..\\..\\..\\MES\\Sajet2\\Connect Driver_5.0.2.39\\driver\\SajetConnect.dll"
+            "TargetName" = "8:SajetConnect.dll"
             "Tag" = "8:"
             "Folder" = "8:_E5F879CDCC274890A7E702C0B4B6B46A"
             "Condition" = "8:"
@@ -372,15 +377,15 @@
             "PackageAs" = "3:1"
             "Register" = "3:1"
             "Exclude" = "11:FALSE"
-            "IsDependency" = "11:TRUE"
+            "IsDependency" = "11:FALSE"
             "IsolateTo" = "8:"
             }
-            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C56F351EED0D473C8C91FFD4ACE607E0"
+            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_89209DC6A8B3498099C558B366509478"
             {
-            "SourcePath" = "8:..\\..\\..\\MES\\Sajet2\\Connect Driver\\driver\\SajetConnect.ini"
-            "TargetName" = "8:SajetConnect.ini"
+            "SourcePath" = "8:..\\AwInitilizer\\Cultures\\StringResource.zh-TW.xaml"
+            "TargetName" = "8:StringResource.zh-TW.xaml"
             "Tag" = "8:"
-            "Folder" = "8:_E5F879CDCC274890A7E702C0B4B6B46A"
+            "Folder" = "8:_69A6831DCF254CD38086AB8730604CE9"
             "Condition" = "8:"
             "Transitive" = "11:FALSE"
             "Vital" = "11:TRUE"
@@ -395,10 +400,21 @@
             "IsDependency" = "11:FALSE"
             "IsolateTo" = "8:"
             }
-            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CBAAAD8B413D43CEB3576E78C76BB64C"
+            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_952052ABD49E9A4C5BCED21B0492D94B"
             {
-            "SourcePath" = "8:..\\..\\..\\MES\\Sajet2\\Connect Driver\\driver\\SAJET.INI"
-            "TargetName" = "8:SAJET.INI"
+            "AssemblyRegister" = "3:1"
+            "AssemblyIsInGAC" = "11:FALSE"
+            "AssemblyAsmDisplayName" = "8:PhihongEv.Lib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"
+                "ScatterAssemblies"
+                {
+                    "_952052ABD49E9A4C5BCED21B0492D94B"
+                    {
+                    "Name" = "8:PhihongEv.Lib.dll"
+                    "Attributes" = "3:512"
+                    }
+                }
+            "SourcePath" = "8:PhihongEv.Lib.dll"
+            "TargetName" = "8:"
             "Tag" = "8:"
             "Folder" = "8:_E5F879CDCC274890A7E702C0B4B6B46A"
             "Condition" = "8:"
@@ -412,7 +428,38 @@
             "PackageAs" = "3:1"
             "Register" = "3:1"
             "Exclude" = "11:FALSE"
-            "IsDependency" = "11:FALSE"
+            "IsDependency" = "11:TRUE"
+            "IsolateTo" = "8:"
+            }
+            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B88A49CE40C9CD286D9008072F1929EB"
+            {
+            "AssemblyRegister" = "3:1"
+            "AssemblyIsInGAC" = "11:FALSE"
+            "AssemblyAsmDisplayName" = "8:Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"
+                "ScatterAssemblies"
+                {
+                    "_B88A49CE40C9CD286D9008072F1929EB"
+                    {
+                    "Name" = "8:Newtonsoft.Json.dll"
+                    "Attributes" = "3:512"
+                    }
+                }
+            "SourcePath" = "8:Newtonsoft.Json.dll"
+            "TargetName" = "8:"
+            "Tag" = "8:"
+            "Folder" = "8:_E5F879CDCC274890A7E702C0B4B6B46A"
+            "Condition" = "8:"
+            "Transitive" = "11:FALSE"
+            "Vital" = "11:TRUE"
+            "ReadOnly" = "11:FALSE"
+            "Hidden" = "11:FALSE"
+            "System" = "11:FALSE"
+            "Permanent" = "11:FALSE"
+            "SharedLegacy" = "11:FALSE"
+            "PackageAs" = "3:1"
+            "Register" = "3:1"
+            "Exclude" = "11:FALSE"
+            "IsDependency" = "11:TRUE"
             "IsolateTo" = "8:"
             }
             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CE59ED9B4E2D416895DC495AC1D0814C"
@@ -486,37 +533,6 @@
             "IsDependency" = "11:FALSE"
             "IsolateTo" = "8:"
             }
-            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F7B4996F823BE05F60488C151398DC83"
-            {
-            "AssemblyRegister" = "3:1"
-            "AssemblyIsInGAC" = "11:FALSE"
-            "AssemblyAsmDisplayName" = "8:MesAdaptor, Version=1.5.0.0, Culture=neutral, processorArchitecture=MSIL"
-                "ScatterAssemblies"
-                {
-                    "_F7B4996F823BE05F60488C151398DC83"
-                    {
-                    "Name" = "8:MesAdaptor.dll"
-                    "Attributes" = "3:512"
-                    }
-                }
-            "SourcePath" = "8:MesAdaptor.dll"
-            "TargetName" = "8:"
-            "Tag" = "8:"
-            "Folder" = "8:_E5F879CDCC274890A7E702C0B4B6B46A"
-            "Condition" = "8:"
-            "Transitive" = "11:FALSE"
-            "Vital" = "11:TRUE"
-            "ReadOnly" = "11:FALSE"
-            "Hidden" = "11:FALSE"
-            "System" = "11:FALSE"
-            "Permanent" = "11:FALSE"
-            "SharedLegacy" = "11:FALSE"
-            "PackageAs" = "3:1"
-            "Register" = "3:1"
-            "Exclude" = "11:FALSE"
-            "IsDependency" = "11:TRUE"
-            "IsolateTo" = "8:"
-            }
         }
         "FileType"
         {

+ 4 - 4
MesAdaptor/Properties/AssemblyInfo.cs

@@ -31,7 +31,7 @@ using System.Runtime.InteropServices;
 //
 // You can specify all the values or you can default the Build and Revision Numbers
 // by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.5.0.0")]
-[assembly: AssemblyVersion("1.5.0.0")]
-[assembly: AssemblyFileVersion("1.5.0.0")]
-[assembly: AssemblyInformationalVersion("5ec02c3")]
+// [assembly: AssemblyVersion("1.5.1.0")]
+[assembly: AssemblyVersion("1.5.1.0")]
+[assembly: AssemblyFileVersion("1.5.1.0")]
+[assembly: AssemblyInformationalVersion("de77dec")]

+ 1 - 1
MesAdaptor/SajetConnect.cs

@@ -24,7 +24,7 @@ namespace MesAdaptor
         public static bool SajetTransClose() => Instance == null ? false : Instance.SajetTransClose();
         public static bool SajetTransSignIn(ref string data) => Instance.SajetTransSignIn(ref data);
         public static bool SajetTransWoCheck(ref string workOrder) => Instance.SajetTransWoCheck(ref workOrder);
-        public static bool SajetTransSnCheck(ref string serialNumber) => Instance.SajetTransWoCheck(ref serialNumber);
+        public static bool SajetTransSnCheck(ref string serialNumber) => Instance.SajetTransSnCheck(ref serialNumber);
         public static bool SajetTranFinishSuccess() => Instance.SajetTranFinishSuccess();
         public static bool SajetTranFinishFail(MesErrorCode errorCode) => Instance.SajetTranFinishFail(errorCode);
         public static string SajetTransRegisterHeader(string model, string header) => Instance.SajetTransRegisterHeader(model, header);