Commit 4d6e272c authored by 王超's avatar 王超

修改变量管理中”创建通道“脚本的JSON请求报文

parent 77aecc2e
......@@ -6,9 +6,7 @@
<component name="ChangeListManager">
<list default="true" id="5f6c517d-e672-488b-afa7-3ef19e47d096" name="Changes" comment="修改代码中涉及到硬编码路径位置,根据操作系统类型来进行适配">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/data/VariableManagement/read_string_var.csv" beforeDir="false" afterPath="$PROJECT_DIR$/data/VariableManagement/read_string_var.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcase/1_EngineeringManagement/data_check(data_recovery).yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/1_EngineeringManagement/data_check(data_recovery).yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcase/1_EngineeringManagement/test_engineering_run.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/1_EngineeringManagement/test_engineering_run.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/testcase/3_VariableManagement/creat_tunnel.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/3_VariableManagement/creat_tunnel.yml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -25,6 +23,9 @@
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />
</component>
<component name="ProjectColorInfo">{
&quot;associatedIndex&quot;: 7
}</component>
......@@ -183,6 +184,7 @@
<workItem from="1733360166391" duration="5082000" />
<workItem from="1733371192737" duration="684000" />
<workItem from="1734596867625" duration="3972000" />
<workItem from="1742873733482" duration="2160000" />
</task>
<task id="LOCAL-00001" summary="更新">
<option name="closed" value="true" />
......
......@@ -4,7 +4,7 @@
url: /api/v1/variable/tunnel
method: post
json:
{"id":5,"parentId":null,"sort":2,"name":"设备1","description":"","type":1,"typeTag":"TCP","config":{"suppiler":"ModBus","model":"Modbus_TCP","protocol":"Modbus_TCP","parameters":{"ServerName":"127.0.0.1","DeviceID":"1","Port":"502","HeadAddress":"1","ConnectTimeOut":"3","ResponseTimeout":"1000","Int32ByteOrder":"2143","Int64ByteOrder":"2143","UInt32ByteOrder":"2143","UInt64ByteOrder":"2143","F32ByteOrder":"3412","F64ByteOrder":"3412","StrByteOrder":"2143","EnableIndependentLink":"禁用","EnablePduDiagnosis":"启用","PduLength":"220","ChannelStatus":"启用","PacketCommitStatus":"禁用","isStaticSimulation":"禁用"}},"enable":true,"createTime":"2024-01-02T17:58:57.3894443+08:00","updateTime":"2024-01-02T17:58:57.3894445+08:00"}
{"parentId":null,"type":1,"name":"设备1","description":"","config":{"suppiler":"ModBus","model":"Modbus_TCP","protocol":"Modbus_TCP","parameters":{"ServerName":"127.0.0.1","DeviceID":"1","Port":"502","HeadAddress":"1","ConnectTimeOut":"3","ResponseTimeout":"1000","Int32ByteOrder":"2143","UInt32ByteOrder":"2143","Int64ByteOrder":"2143","UInt64ByteOrder":"2143","F32ByteOrder":"2143","F64ByteOrder":"2143","StrByteOrder":"2143","WStrByteOrder":"21","EnableIndependentLink":"禁用","EnablePduDiagnosis":"启用","PduLength":"220","PacketCommitStatus":"禁用","isStaticSimulation":"禁用"}},"copyConfig":null}
headers:
X-Project: ${get_extract_data(x_project)}
extract:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment