浏览代码

下發測試用工具(公司內網) V1.1.38 (20220622)
1. Fix LocalList 大量下發Mock Data問題

Jessica Tseng 2 年之前
父节点
当前提交
20f1995809

+ 1 - 1
EVCB_OCPP.WSServer/Properties/AssemblyInfo.cs

@@ -35,4 +35,4 @@ using System.Runtime.InteropServices;
 [assembly: AssemblyVersion("1.0.5.0")]
 [assembly: AssemblyFileVersion("1.0.5.0")]
 
-[assembly: AssemblyInformationalVersion("5382176")]
+[assembly: AssemblyInformationalVersion("bc27ff1")]

+ 1 - 1
TestTool.RemoteTriggerAPP/MainWindow.xaml

@@ -5,7 +5,7 @@
         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
         xmlns:local="clr-namespace:TestTool.RemoteTriggerAPP"      
         mc:Ignorable="d"
-        Title="下發測試用工具(公司內網) V1.1.37 (20220429)" Height="481" Width="652">
+        Title="下發測試用工具(公司內網) V1.1.38 (20220622)" Height="481" Width="652">
     <Viewbox>
         <Grid Margin="0,2,2,0">
             <Grid.ColumnDefinitions>

+ 2 - 56
TestTool.RemoteTriggerAPP/MainWindow.xaml.cs

@@ -598,63 +598,9 @@ namespace TestTool.RemoteTriggerAPP
                 //        status = AuthorizationStatus.ConcurrentTx
                 //    }
                 //});
+             
 
-                request.localAuthorizationList.Add(new AuthorizationData()
-                {
-                    idTag = "AA",
-                    idTagInfo = new IdTagInfo()
-                    {
-                        parentIdTag = "SuperVisor",
-                        expiryDate = DateTime.UtcNow.AddMinutes(5),
-                        status = AuthorizationStatus.Accepted
-                    }
-                });
-
-                request.localAuthorizationList.Add(new AuthorizationData()
-                {
-                    idTag = "BB",
-                    idTagInfo = new IdTagInfo()
-                    {
-                        parentIdTag = "SuperVisor",
-                        expiryDate = DateTime.UtcNow.AddMinutes(5),
-                        status = AuthorizationStatus.Accepted
-                    }
-                });
-
-                request.localAuthorizationList.Add(new AuthorizationData()
-                {
-                    idTag = "CC",
-                    idTagInfo = new IdTagInfo()
-                    {
-                        parentIdTag = "SuperVisor",
-                        expiryDate = DateTime.UtcNow.AddMinutes(5),
-                        status = AuthorizationStatus.Accepted
-                    }
-                });
-
-                request.localAuthorizationList.Add(new AuthorizationData()
-                {
-                    idTag = "DD",
-                    idTagInfo = new IdTagInfo()
-                    {
-                        parentIdTag = "SuperVisor",
-                        expiryDate = DateTime.UtcNow.AddMonths(-1),
-                        status = AuthorizationStatus.Invalid
-                    }
-                });
-
-                request.localAuthorizationList.Add(new AuthorizationData()
-                {
-                    idTag = "EE",
-                    idTagInfo = new IdTagInfo()
-                    {
-                        parentIdTag = "SuperVisor",
-                        expiryDate = DateTime.UtcNow.AddMonths(-1),
-                        status = AuthorizationStatus.Invalid
-                    }
-                });
-
-                for (int i = 0; i < size - request.localAuthorizationList.Count(); i++)
+                for (int i = 0; i < size ; i++)
                 {
                     request.localAuthorizationList.Add(new AuthorizationData()
                     {