Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CMS2.0_API_AUTOMATION_TEST
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王超
CMS2.0_API_AUTOMATION_TEST
Commits
5de4ce3c
Commit
5de4ce3c
authored
Mar 25, 2025
by
王超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改creat_io_variable.yml文件,在parameters部分增加type
parent
f11c74ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
+18
-9
workspace.xml
.idea/workspace.xml
+14
-4
creat_io_variable.csv
data/VariableManagement/creat_io_variable.csv
+2
-3
creat_io_variable.yml
testcase/3_VariableManagement/creat_io_variable.yml
+2
-2
No files found.
.idea/workspace.xml
View file @
5de4ce3c
...
...
@@ -4,7 +4,7 @@
<option
name=
"autoReloadType"
value=
"SELECTIVE"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"5f6c517d-e672-488b-afa7-3ef19e47d096"
name=
"Changes"
comment=
"修改变量管理中”
通道异常校验“脚本的JSON请求报文
"
>
<list
default=
"true"
id=
"5f6c517d-e672-488b-afa7-3ef19e47d096"
name=
"Changes"
comment=
"修改变量管理中”
创建IO变量“脚本的JSON请求报文,增加变量类型字段type
"
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/data/VariableManagement/creat_io_variable.csv"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/data/VariableManagement/creat_io_variable.csv"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/testcase/3_VariableManagement/creat_io_variable.yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/testcase/3_VariableManagement/creat_io_variable.yml"
afterDir=
"false"
/>
...
...
@@ -186,7 +186,8 @@
<workItem
from=
"1733371192737"
duration=
"684000"
/>
<workItem
from=
"1734596867625"
duration=
"3972000"
/>
<workItem
from=
"1742873733482"
duration=
"2418000"
/>
<workItem
from=
"1742882290346"
duration=
"4132000"
/>
<workItem
from=
"1742882290346"
duration=
"4807000"
/>
<workItem
from=
"1742888610602"
duration=
"803000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"更新"
>
<option
name=
"closed"
value=
"true"
/>
...
...
@@ -220,7 +221,15 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1742883588747
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"5"
/>
<task
id=
"LOCAL-00005"
summary=
"修改变量管理中”创建IO变量“脚本的JSON请求报文,增加变量类型字段type"
>
<option
name=
"closed"
value=
"true"
/>
<created>
1742886937509
</created>
<option
name=
"number"
value=
"00005"
/>
<option
name=
"presentableId"
value=
"LOCAL-00005"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1742886937509
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"6"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
@@ -243,7 +252,8 @@
<MESSAGE
value=
"修改代码中涉及到硬编码路径位置,根据操作系统类型来进行适配"
/>
<MESSAGE
value=
"修改变量管理中”创建通道“脚本的JSON请求报文"
/>
<MESSAGE
value=
"修改变量管理中”通道异常校验“脚本的JSON请求报文"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"修改变量管理中”通道异常校验“脚本的JSON请求报文"
/>
<MESSAGE
value=
"修改变量管理中”创建IO变量“脚本的JSON请求报文,增加变量类型字段type"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"修改变量管理中”创建IO变量“脚本的JSON请求报文,增加变量类型字段type"
/>
</component>
<component
name=
"com.intellij.coverage.CoverageDataManagerImpl"
>
<SUITE
FILE_PATH=
"coverage/EOS_API_AUTOMATION_TEST$yaml_util.coverage"
NAME=
"yaml_util Coverage Results"
MODIFIED=
"1734597299302"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$/common"
/>
...
...
data/VariableManagement/creat_io_variable.csv
View file @
5de4ce3c
...
...
@@ -7,7 +7,7 @@ title,index,name,description,typeName,type,address,interval,stringLength,zoom,di
浮点数小数位,舍位,6,B6,浮点数小数位,舍位,F32位浮点数IEEE754,9,400085,1000,null,1,2,1,B6_id
浮点数小数位,四舍,7,B7,浮点数小数位,四舍,F32位浮点数IEEE754,9,400087,1000,null,1,2,2,B7_id
浮点数小数位,进位,8,B8,浮点数小数位,进位,F32位浮点数IEEE754,9,400089,1000,null,1,2,3,B8_id
二进制,9,A1,二进制,二进制变量,0,400001
.0
,1000,null,null,null,1,A1_id
二进制,9,A1,二进制,二进制变量,0,400001,1000,null,null,null,1,A1_id
有符号8位整型,10,A2,有符号8位整型,有符号8位整型,1,400002,1000,null,1,null,1,A2_id
无符号8位整型,11,A3,无符号8位整型,无符号8位整型,1,400003,1000,null,1,null,1,B3_id
有符号16位整型,12,A4,有符号16位整型,有符号16位整型,3,400004,1000,null,1,null,1,A4_id
...
...
@@ -18,4 +18,4 @@ title,index,name,description,typeName,type,address,interval,stringLength,zoom,di
无符号64位整型,17,A9,无符号64位整型,无符号64位整型,8,400029,1000,null,1,null,1,A9_id
F32位浮点数IEEE754,18,A10,F32位浮点数IEEE754,F32位浮点数IEEE754,9,400045,1000,null,1,null,1,A10_id
F64位浮点数IEEE754,19,A11,F64位浮点数IEEE754,F64位浮点数IEEE754,10,400049,1000,null,1,null,1,A11_id
字符串,20,A12,字符串,字符串,11,400060,1000,10,null,null,1,A12_id
\ No newline at end of file
字符串,20,A12,字符串,字符串,11,400060,1000,10,null,null,1,A12_id
testcase/3_VariableManagement/creat_io_variable.yml
View file @
5de4ce3c
-
name
:
新增io变量-$csv{title}
base_url
:
${get_base_url(cms_url)}
parameters
:
title-index-name-description-typeName-address-interval-stringLength-zoom-digit-readWriteRule-io_id
:
data/VariableManagement/creat_io_variable.csv
title-index-name-description-typeName-
type-
address-interval-stringLength-zoom-digit-readWriteRule-io_id
:
data/VariableManagement/creat_io_variable.csv
request
:
url
:
/api/v1/variable/tunnel/${get_extract_data(io_tunnel_id)}/tag
method
:
post
...
...
@@ -11,7 +11,7 @@
name
:
$csv{name}
description
:
$csv{description}
typeName
:
$csv{typeName}
type
:
$csv{type
}
type
:
ddt{{$csv{type}}
}
config
:
readWriteMode
:
0
address
:
$csv{address}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment