فهرست منبع

增加测试功能页面

Klosszhu 3 سال پیش
والد
کامیت
d5d582f6aa
23فایلهای تغییر یافته به همراه1899 افزوده شده و 42 حذف شده
  1. BIN
      .vs/Fine.OPCDaClient/DesignTimeBuild/.dtbcache.v2
  2. 12 12
      Fine.OPCDaClient9000/ConfigForm.Designer.cs
  3. 9 0
      Fine.OPCDaClient9000/Fine.OPCDaClient9000.csproj
  4. 14 1
      Fine.OPCDaClient9000/Form1.Designer.cs
  5. 6 0
      Fine.OPCDaClient9000/Form1.cs
  6. 152 0
      Fine.OPCDaClient9000/TestForm.Designer.cs
  7. 68 0
      Fine.OPCDaClient9000/TestForm.cs
  8. 120 0
      Fine.OPCDaClient9000/TestForm.resx
  9. 29 29
      Fine.OPCDaClient9000/bin/Debug/config/Router/5000Test/5K回潮测试_Post.json
  10. 38 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5001Test/5K单机_Get.json
  11. 210 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5001Test/5K单机_Post.json
  12. 38 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5002Test/12_Get.json
  13. 210 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5002Test/12_Post.json
  14. 38 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5003Test/13_Get.json
  15. 210 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5003Test/13_Post.json
  16. 38 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5004Test/14_Get.json
  17. 210 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5004Test/14_Post.json
  18. 38 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5005Test/15_Get.json
  19. 210 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5005Test/15_Post.json
  20. 38 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5006Test/16_Get.json
  21. 210 0
      Fine.OPCDaClient9000/bin/Debug/config/Router/5006Test/16_Post.json
  22. BIN
      Fine.OPCDaClient9000/obj/Debug/Fine.OPCDaClient9000.TestForm.resources
  23. 1 0
      Fine.OPCDaClient9000/obj/Debug/Fine.OPCDaClient9000.csproj.FileListAbsolute.txt

BIN
.vs/Fine.OPCDaClient/DesignTimeBuild/.dtbcache.v2


+ 12 - 12
Fine.OPCDaClient9000/ConfigForm.Designer.cs

@@ -55,7 +55,6 @@
             this.textBox1 = new System.Windows.Forms.TextBox();
             this.button1 = new System.Windows.Forms.Button();
             this.label5 = new System.Windows.Forms.Label();
-            this.textBox5 = new System.Windows.Forms.TextBox();
             this.label9 = new System.Windows.Forms.Label();
             this.textBox2 = new System.Windows.Forms.TextBox();
             this.button3 = new System.Windows.Forms.Button();
@@ -64,6 +63,7 @@
             this.checkBox1 = new System.Windows.Forms.CheckBox();
             this.button4 = new System.Windows.Forms.Button();
             this.button5 = new System.Windows.Forms.Button();
+            this.textBox5 = new System.Windows.Forms.TextBox();
             this.groupBox1.SuspendLayout();
             this.SuspendLayout();
             // 
@@ -177,16 +177,6 @@
             this.label5.TabIndex = 10;
             this.label5.Text = "模块名";
             // 
-            // textBox5
-            // 
-            this.textBox5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.textBox5.Location = new System.Drawing.Point(484, 180);
-            this.textBox5.Multiline = true;
-            this.textBox5.Name = "textBox5";
-            this.textBox5.ScrollBars = System.Windows.Forms.ScrollBars.Both;
-            this.textBox5.Size = new System.Drawing.Size(1300, 769);
-            this.textBox5.TabIndex = 20;
-            // 
             // label9
             // 
             this.label9.AutoSize = true;
@@ -261,6 +251,16 @@
             this.button5.UseVisualStyleBackColor = true;
             this.button5.Click += new System.EventHandler(this.button5_Click);
             // 
+            // textBox5
+            // 
+            this.textBox5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.textBox5.Location = new System.Drawing.Point(484, 180);
+            this.textBox5.Multiline = true;
+            this.textBox5.Name = "textBox5";
+            this.textBox5.ScrollBars = System.Windows.Forms.ScrollBars.Both;
+            this.textBox5.Size = new System.Drawing.Size(1300, 769);
+            this.textBox5.TabIndex = 20;
+            // 
             // ConfigForm
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
@@ -299,7 +299,6 @@
         private System.Windows.Forms.Button button1;
         private System.Windows.Forms.ListBox listBox1;
         private System.Windows.Forms.Label label5;
-        private System.Windows.Forms.TextBox textBox5;
         private System.Windows.Forms.Label label9;
         private System.Windows.Forms.TextBox textBox6;
         private System.Windows.Forms.Button button2;
@@ -310,5 +309,6 @@
         private System.Windows.Forms.CheckBox checkBox1;
         private System.Windows.Forms.Button button4;
         private System.Windows.Forms.Button button5;
+        private System.Windows.Forms.TextBox textBox5;
     }
 }

+ 9 - 0
Fine.OPCDaClient9000/Fine.OPCDaClient9000.csproj

@@ -130,6 +130,12 @@
     <Compile Include="Program.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="ServerConfig.cs" />
+    <Compile Include="TestForm.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="TestForm.Designer.cs">
+      <DependentUpon>TestForm.cs</DependentUpon>
+    </Compile>
     <Compile Include="Tool\MyTool.cs" />
     <Compile Include="Util\Enumic.cs" />
     <Compile Include="Util\JsonBeauty.cs" />
@@ -288,6 +294,9 @@
     <EmbeddedResource Include="Form1.resx">
       <DependentUpon>Form1.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="TestForm.resx">
+      <DependentUpon>TestForm.cs</DependentUpon>
+    </EmbeddedResource>
   </ItemGroup>
   <ItemGroup>
     <BootstrapperPackage Include=".NETFramework,Version=v4.7.2">

+ 14 - 1
Fine.OPCDaClient9000/Form1.Designer.cs

@@ -48,6 +48,7 @@ namespace Fine.OPCDaClient9000
             this.TitleLabel1 = new System.Windows.Forms.Label();
             this.IfixTimmer = new System.Windows.Forms.Timer(this.components);
             this.button6 = new System.Windows.Forms.Button();
+            this.button7 = new System.Windows.Forms.Button();
             this.groupBox1.SuspendLayout();
             this.SuspendLayout();
             // 
@@ -224,17 +225,28 @@ namespace Fine.OPCDaClient9000
             // 
             this.button6.Location = new System.Drawing.Point(130, 416);
             this.button6.Name = "button6";
-            this.button6.Size = new System.Drawing.Size(518, 70);
+            this.button6.Size = new System.Drawing.Size(206, 70);
             this.button6.TabIndex = 4;
             this.button6.Text = "配置项修改";
             this.button6.UseVisualStyleBackColor = true;
             this.button6.Click += new System.EventHandler(this.button6_Click);
             // 
+            // button7
+            // 
+            this.button7.Location = new System.Drawing.Point(438, 416);
+            this.button7.Name = "button7";
+            this.button7.Size = new System.Drawing.Size(223, 70);
+            this.button7.TabIndex = 5;
+            this.button7.Text = "接口测试";
+            this.button7.UseVisualStyleBackColor = true;
+            this.button7.Click += new System.EventHandler(this.button7_Click);
+            // 
             // Form1
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.ClientSize = new System.Drawing.Size(800, 510);
+            this.Controls.Add(this.button7);
             this.Controls.Add(this.button6);
             this.Controls.Add(this.TitleLabel1);
             this.Controls.Add(this.button2);
@@ -270,5 +282,6 @@ namespace Fine.OPCDaClient9000
         private System.Windows.Forms.Label label5;
         private System.Windows.Forms.Label label6;
         private System.Windows.Forms.Button button6;
+        private System.Windows.Forms.Button button7;
     }
 }

+ 6 - 0
Fine.OPCDaClient9000/Form1.cs

@@ -206,6 +206,12 @@ namespace Fine.OPCDaClient9000
             form.Show();
         }
 
+        private void button7_Click(object sender, EventArgs e)
+        {
+            TestForm form = new TestForm();
+            form.Show();
+        }
+
         //private void LoadLog() {
         //    richTextBox1.Text = Read();
         //}

+ 152 - 0
Fine.OPCDaClient9000/TestForm.Designer.cs

@@ -0,0 +1,152 @@
+
+namespace Fine.OPCDaClient9000
+{
+    partial class TestForm
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.listBox1 = new System.Windows.Forms.ListBox();
+            this.groupBox1 = new System.Windows.Forms.GroupBox();
+            this.groupBox2 = new System.Windows.Forms.GroupBox();
+            this.textBox1 = new System.Windows.Forms.TextBox();
+            this.checkBox1 = new System.Windows.Forms.CheckBox();
+            this.button1 = new System.Windows.Forms.Button();
+            this.groupBox3 = new System.Windows.Forms.GroupBox();
+            this.richTextBox1 = new System.Windows.Forms.RichTextBox();
+            this.groupBox1.SuspendLayout();
+            this.groupBox2.SuspendLayout();
+            this.groupBox3.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // listBox1
+            // 
+            this.listBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.listBox1.FormattingEnabled = true;
+            this.listBox1.ItemHeight = 24;
+            this.listBox1.Location = new System.Drawing.Point(6, 27);
+            this.listBox1.Name = "listBox1";
+            this.listBox1.ScrollAlwaysVisible = true;
+            this.listBox1.Size = new System.Drawing.Size(362, 580);
+            this.listBox1.TabIndex = 8;
+            // 
+            // groupBox1
+            // 
+            this.groupBox1.Controls.Add(this.listBox1);
+            this.groupBox1.Location = new System.Drawing.Point(13, 26);
+            this.groupBox1.Name = "groupBox1";
+            this.groupBox1.Size = new System.Drawing.Size(398, 631);
+            this.groupBox1.TabIndex = 9;
+            this.groupBox1.TabStop = false;
+            this.groupBox1.Text = "查询结果";
+            // 
+            // groupBox2
+            // 
+            this.groupBox2.Controls.Add(this.button1);
+            this.groupBox2.Controls.Add(this.checkBox1);
+            this.groupBox2.Controls.Add(this.textBox1);
+            this.groupBox2.Location = new System.Drawing.Point(417, 26);
+            this.groupBox2.Name = "groupBox2";
+            this.groupBox2.Size = new System.Drawing.Size(583, 169);
+            this.groupBox2.TabIndex = 10;
+            this.groupBox2.TabStop = false;
+            this.groupBox2.Text = "查询";
+            // 
+            // textBox1
+            // 
+            this.textBox1.Location = new System.Drawing.Point(1, 28);
+            this.textBox1.Name = "textBox1";
+            this.textBox1.Size = new System.Drawing.Size(386, 28);
+            this.textBox1.TabIndex = 0;
+            // 
+            // checkBox1
+            // 
+            this.checkBox1.AutoSize = true;
+            this.checkBox1.Location = new System.Drawing.Point(404, 33);
+            this.checkBox1.Name = "checkBox1";
+            this.checkBox1.Size = new System.Drawing.Size(70, 22);
+            this.checkBox1.TabIndex = 1;
+            this.checkBox1.Text = "点位";
+            this.checkBox1.UseVisualStyleBackColor = true;
+            // 
+            // button1
+            // 
+            this.button1.Location = new System.Drawing.Point(480, 24);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(75, 38);
+            this.button1.TabIndex = 2;
+            this.button1.Text = "查询";
+            this.button1.UseVisualStyleBackColor = true;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
+            // 
+            // groupBox3
+            // 
+            this.groupBox3.Controls.Add(this.richTextBox1);
+            this.groupBox3.Location = new System.Drawing.Point(417, 202);
+            this.groupBox3.Name = "groupBox3";
+            this.groupBox3.Size = new System.Drawing.Size(583, 455);
+            this.groupBox3.TabIndex = 11;
+            this.groupBox3.TabStop = false;
+            this.groupBox3.Text = "结果";
+            // 
+            // richTextBox1
+            // 
+            this.richTextBox1.Location = new System.Drawing.Point(7, 28);
+            this.richTextBox1.Name = "richTextBox1";
+            this.richTextBox1.Size = new System.Drawing.Size(570, 421);
+            this.richTextBox1.TabIndex = 0;
+            this.richTextBox1.Text = "";
+            // 
+            // TestForm
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(1003, 669);
+            this.Controls.Add(this.groupBox3);
+            this.Controls.Add(this.groupBox2);
+            this.Controls.Add(this.groupBox1);
+            this.Name = "TestForm";
+            this.Text = "TestForm";
+            this.groupBox1.ResumeLayout(false);
+            this.groupBox2.ResumeLayout(false);
+            this.groupBox2.PerformLayout();
+            this.groupBox3.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.ListBox listBox1;
+        private System.Windows.Forms.GroupBox groupBox1;
+        private System.Windows.Forms.GroupBox groupBox2;
+        private System.Windows.Forms.Button button1;
+        private System.Windows.Forms.CheckBox checkBox1;
+        private System.Windows.Forms.TextBox textBox1;
+        private System.Windows.Forms.GroupBox groupBox3;
+        private System.Windows.Forms.RichTextBox richTextBox1;
+    }
+}

+ 68 - 0
Fine.OPCDaClient9000/TestForm.cs

@@ -0,0 +1,68 @@
+using Fine.OPCDaClient9000.Util;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Fine.OPCDaClient9000
+{
+    public partial class TestForm : Form
+    {
+        public TestForm()
+        {
+            InitializeComponent();
+        }
+
+        private void button1_Click(object sender, EventArgs e)
+        {
+            Search();
+        }
+        private void Search()
+        {
+            if (string.IsNullOrEmpty(textBox1.Text))
+            {
+                return;
+            }
+
+            AppUtil.InitAllDirectoryCfg();
+
+            //if (apis.Count()>0)
+            //{
+            //    MessageBox.Show("请选择比较匹配的一条数据");
+            //    return;
+            //}
+            Dictionary<string, List<IoModal>> result = new Dictionary<string, List<IoModal>>();
+            if (checkBox1.Checked)
+            {
+                var apis = AppUtil.newsConfig.Where(a => a.Data.Any(n => n.Params.Any(c => c.keys.Any(d => d.WriteTagName.ToLower().Contains(textBox1.Text.ToLower())))) || a.Data.Any(n => n.Params.Any(c => c.keys.Any(d => d.WriteTagName.ToLower().Contains(textBox1.Text.ToLower()))))).ToList();
+                foreach (var item in apis)
+                {
+                    result.Add(item.path, item.Data.Where(a => a.Params.Any(c => c.keys.Exists(n => n.CheckTagName.ToLower().Contains(textBox1.Text.ToLower())) || c.keys.Exists(n => n.WriteTagName.ToLower().Contains(textBox1.Text.ToLower())))).ToList());
+                }
+                listBox1.Items.Clear();
+                foreach (var item in result.Values.SelectMany(a => a).ToList())
+                {
+                    listBox1.Items.Add(item.APIName);
+                }
+            }
+            else
+            {
+                var apis = AppUtil.newsConfig.Where(a => a.Data.Exists(b => b.APIName.ToLower().Contains(textBox1.Text.ToLower())));
+                foreach (var item in apis)
+                {
+                    result.Add(item.path, item.Data.Where(a => a.APIName.ToLower().Contains(textBox1.Text.ToLower())).ToList());
+                }
+                listBox1.Items.Clear();
+                foreach (var item in result.Values.SelectMany(a => a).ToList())
+                {
+                    listBox1.Items.Add(item.APIName);
+                }
+            }
+        }
+    }
+}

+ 120 - 0
Fine.OPCDaClient9000/TestForm.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 29 - 29
Fine.OPCDaClient9000/bin/Debug/config/Router/5000Test/5K回潮测试_Post.json

@@ -1,7 +1,7 @@
 [
     {
-        "APIName": "LPost1Test",
-        "Content": "测试Post写入单值备注;写温度值",
+        "APIName": "LPost3Test",
+        "Content": "测试Post写入单值备注 工单/批号/牌号",
         "IsCheck": false,
         "DelayTime": 3000,
         "Params": [
@@ -9,19 +9,32 @@
                 "Param": "",
                 "keys": [
                     {
-                        "WriteTagName": "LPostTest.F_CV",
-                        "CheckTagName": "LPostTest.F_CV",
+                        "InputName": "GDNum",
+                        "WriteTagName": "sbvffg.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNum",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
                         "DelayTime": 0
                     }
                 ]
             }
         ],
         "Method": "post",
-        "PType": 1
+        "PType": 2
     },
     {
-        "APIName": "LPost2Test",
-        "Content": "测试Post写入单值备注 质量/批号/牌号",
+        "APIName": "LPost1Test",
+        "Content": "测试Post写入单值备注;写温度值",
         "IsCheck": false,
         "DelayTime": 3000,
         "Params": [
@@ -29,52 +42,39 @@
                 "Param": "",
                 "keys": [
                     {
-                        "InputName": "Weight",
-                        "WriteTagName": "LPost1Test.F_CV",
-                        "CheckTagName": "LPost1Test.F_CV",
-                        "DelayTime": 0
-                    },
-                    {
-                        "InputName": "BranchNo",
-                        "WriteTagName": "Branch.F_CV",
-                        "CheckTagName": "Branch.F_CV",
-                        "DelayTime": 0
-                    },
-                    {
-                        "InputName": "BrandNo",
-                        "WriteTagName": "BrandNum.F_CV",
-                        "CheckTagName": "BrandNum.F_CV",
+                        "WriteTagName": "LPostTest.F_CV",
+                        "CheckTagName": "LPostTest.F_CV",
                         "DelayTime": 0
                     }
                 ]
             }
         ],
         "Method": "post",
-        "PType": 2
+        "PType": 1
     },
     {
-        "APIName": "LPost3Test",
-        "Content": "测试Post写入单值备注 工单/批号/牌号",
-        "IsCheck": true,
+        "APIName": "LPost2Test",
+        "Content": "测试Post写入单值备注 质量/批号/牌号",
+        "IsCheck": false,
         "DelayTime": 3000,
         "Params": [
             {
                 "Param": "",
                 "keys": [
                     {
-                        "InputName": "GDNum",
+                        "InputName": "Weight",
                         "WriteTagName": "LPost1Test.F_CV",
                         "CheckTagName": "LPost1Test.F_CV",
                         "DelayTime": 0
                     },
                     {
-                        "InputName": "BranchNum",
+                        "InputName": "BranchNo",
                         "WriteTagName": "Branch.F_CV",
                         "CheckTagName": "Branch.F_CV",
                         "DelayTime": 0
                     },
                     {
-                        "InputName": "BrandNum",
+                        "InputName": "BrandNo",
                         "WriteTagName": "BrandNum.F_CV",
                         "CheckTagName": "BrandNum.F_CV",
                         "DelayTime": 0

+ 38 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5001Test/5K单机_Get.json

@@ -0,0 +1,38 @@
+[
+    {
+        "APIName": "MGetTest",
+        "Content": "测试Get备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LGetTest.F_CV",
+                        "CheckTagName": "LGetTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "get",
+        "PType": 0
+    }
+]

+ 210 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5001Test/5K单机_Post.json

@@ -0,0 +1,210 @@
+[
+    {
+        "APIName": "MPost1Test",
+        "Content": "测试Post写入单值备注;写温度值",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LPostTest.F_CV",
+                        "CheckTagName": "LPostTest.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 1
+    },
+    {
+        "APIName": "MPost2Test",
+        "Content": "测试Post写入单值备注 质量/批号/牌号",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "Weight",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNo",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNo",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost3Test",
+        "Content": "测试Post写入单值备注 工单/批号/牌号",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "GDNum",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNum",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost4Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 3
+    },
+    {
+        "APIName": "MPost5Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 4
+    }
+]

+ 38 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5002Test/12_Get.json

@@ -0,0 +1,38 @@
+[
+    {
+        "APIName": "MGetTest",
+        "Content": "测试Get备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LGetTest.F_CV",
+                        "CheckTagName": "LGetTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "get",
+        "PType": 0
+    }
+]

+ 210 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5002Test/12_Post.json

@@ -0,0 +1,210 @@
+[
+    {
+        "APIName": "MPost1Test",
+        "Content": "测试Post写入单值备注;写温度值",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LPostTest.F_CV",
+                        "CheckTagName": "LPostTest.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 1
+    },
+    {
+        "APIName": "MPost2Test",
+        "Content": "测试Post写入单值备注 质量/批号/牌号",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "Weight",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNo",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNo",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost3Test",
+        "Content": "测试Post写入单值备注 工单/批号/牌号",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "GDNum",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNum",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost4Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 3
+    },
+    {
+        "APIName": "MPost5Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 4
+    }
+]

+ 38 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5003Test/13_Get.json

@@ -0,0 +1,38 @@
+[
+    {
+        "APIName": "MGetTest",
+        "Content": "测试Get备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LGetTest.F_CV",
+                        "CheckTagName": "LGetTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "get",
+        "PType": 0
+    }
+]

+ 210 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5003Test/13_Post.json

@@ -0,0 +1,210 @@
+[
+    {
+        "APIName": "MPost1Test",
+        "Content": "测试Post写入单值备注;写温度值",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LPostTest.F_CV",
+                        "CheckTagName": "LPostTest.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 1
+    },
+    {
+        "APIName": "MPost2Test",
+        "Content": "测试Post写入单值备注 质量/批号/牌号",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "Weight",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNo",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNo",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost3Test",
+        "Content": "测试Post写入单值备注 工单/批号/牌号",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "GDNum",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNum",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost4Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 3
+    },
+    {
+        "APIName": "MPost5Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 4
+    }
+]

+ 38 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5004Test/14_Get.json

@@ -0,0 +1,38 @@
+[
+    {
+        "APIName": "MGetTest",
+        "Content": "测试Get备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LGetTest.F_CV",
+                        "CheckTagName": "LGetTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "get",
+        "PType": 0
+    }
+]

+ 210 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5004Test/14_Post.json

@@ -0,0 +1,210 @@
+[
+    {
+        "APIName": "MPost1Test",
+        "Content": "测试Post写入单值备注;写温度值",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LPostTest.F_CV",
+                        "CheckTagName": "LPostTest.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 1
+    },
+    {
+        "APIName": "MPost2Test",
+        "Content": "测试Post写入单值备注 质量/批号/牌号",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "Weight",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNo",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNo",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost3Test",
+        "Content": "测试Post写入单值备注 工单/批号/牌号",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "GDNum",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNum",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost4Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 3
+    },
+    {
+        "APIName": "MPost5Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 4
+    }
+]

+ 38 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5005Test/15_Get.json

@@ -0,0 +1,38 @@
+[
+    {
+        "APIName": "MGetTest",
+        "Content": "测试Get备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LGetTest.F_CV",
+                        "CheckTagName": "LGetTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "get",
+        "PType": 0
+    }
+]

+ 210 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5005Test/15_Post.json

@@ -0,0 +1,210 @@
+[
+    {
+        "APIName": "MPost1Test",
+        "Content": "测试Post写入单值备注;写温度值",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LPostTest.F_CV",
+                        "CheckTagName": "LPostTest.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 1
+    },
+    {
+        "APIName": "MPost2Test",
+        "Content": "测试Post写入单值备注 质量/批号/牌号",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "Weight",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNo",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNo",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost3Test",
+        "Content": "测试Post写入单值备注 工单/批号/牌号",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "GDNum",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNum",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost4Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 3
+    },
+    {
+        "APIName": "MPost5Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 4
+    }
+]

+ 38 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5006Test/16_Get.json

@@ -0,0 +1,38 @@
+[
+    {
+        "APIName": "MGetTest",
+        "Content": "测试Get备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LGetTest.F_CV",
+                        "CheckTagName": "LGetTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LTest.F_CV",
+                        "CheckTagName": "LTest.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "get",
+        "PType": 0
+    }
+]

+ 210 - 0
Fine.OPCDaClient9000/bin/Debug/config/Router/5006Test/16_Post.json

@@ -0,0 +1,210 @@
+[
+    {
+        "APIName": "MPost1Test",
+        "Content": "测试Post写入单值备注;写温度值",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "WriteTagName": "LPostTest.F_CV",
+                        "CheckTagName": "LPostTest.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 1
+    },
+    {
+        "APIName": "MPost2Test",
+        "Content": "测试Post写入单值备注 质量/批号/牌号",
+        "IsCheck": false,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "Weight",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNo",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNo",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost3Test",
+        "Content": "测试Post写入单值备注 工单/批号/牌号",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "",
+                "keys": [
+                    {
+                        "InputName": "GDNum",
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BranchNum",
+                        "WriteTagName": "Branch.F_CV",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "WriteTagName": "BrandNum.F_CV",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 2
+    },
+    {
+        "APIName": "MPost4Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "WriteTagName": "LPost1Test.F_CV",
+                        "CheckTagName": "LPost1Test.F_CV",
+                        "StrValue": "1",
+                        "CheckValue": "1",
+                        "DelayTime": 0
+                    },
+                    {
+                        "WriteTagName": "LPost2Test.F_CV",
+                        "CheckTagName": "LPost2Test.F_CV",
+                        "StrValue": "0",
+                        "CheckValue": "0",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 3
+    },
+    {
+        "APIName": "MPost5Test",
+        "Content": "测试Post写入单值备注",
+        "IsCheck": true,
+        "DelayTime": 3000,
+        "Params": [
+            {
+                "Param": "YP01",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP02",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            },
+            {
+                "Param": "YP03",
+                "keys": [
+                    {
+                        "InputName": "BranchNum",
+                        "CheckTagName": "BrandNum.F_CV",
+                        "DelayTime": 0
+                    },
+                    {
+                        "InputName": "BrandNum",
+                        "CheckTagName": "Branch.F_CV",
+                        "DelayTime": 0
+                    }
+                ]
+            }
+        ],
+        "Method": "post",
+        "PType": 4
+    }
+]

BIN
Fine.OPCDaClient9000/obj/Debug/Fine.OPCDaClient9000.TestForm.resources


+ 1 - 0
Fine.OPCDaClient9000/obj/Debug/Fine.OPCDaClient9000.csproj.FileListAbsolute.txt

@@ -291,3 +291,4 @@ E:\yszn\Fine.OPCDaClient1027_vs2019\Fine.OPCDaClient1027_vs2019\Fine.OPCDaClient
 E:\yszn\Fine.OPCDaClient1027_vs2019\Fine.OPCDaClient1027_vs2019\Fine.OPCDaClient9000\bin\Debug\NPOI.OpenXml4Net.pdb
 E:\yszn\Fine.OPCDaClient1027_vs2019\Fine.OPCDaClient1027_vs2019\Fine.OPCDaClient9000\bin\Debug\NPOI.OpenXml4Net.xml
 E:\yszn\Fine.OPCDaClient1027_vs2019\Fine.OPCDaClient1027_vs2019\Fine.OPCDaClient9000\bin\Debug\NPOI.OpenXmlFormats.pdb
+E:\yszn\Fine.OPCDaClient1027_vs2019\Fine.OPCDaClient1027_vs2019\Fine.OPCDaClient9000\obj\Debug\Fine.OPCDaClient9000.TestForm.resources