「ITTS Scrip:Message」修訂間的差異
跳至導覽
跳至搜尋
Vincentcheng2116(討論 | 貢獻) (已建立頁面,內容為 "== Message / Multiple ITTS application == ITTS could accept message form other's AP since version 2.3.0.8 === Section 1: === ITTS or UTS === Section 2: === Mes…") |
Vincentcheng2116(討論 | 貢獻) |
||
行 18: | 行 18: | ||
=== command type: === | === command type: === | ||
− | + | * 001 run ITTS ( some other AP send message, ask ITTS to run) | |
− | 101 run ITTS one node (sub command :node number in that target ITTS test plan | + | * 101 run ITTS one node (sub command :node number in that target ITTS test plan |
− | 201 run ITTS from node Value 5 (sub command :node number in that target ITTS test plan | + | * 201 run ITTS from node Value 5 (sub command :node number in that target ITTS test plan |
− | 3nn get node ID by test plan label ( value 6) | + | * 3nn get node ID by test plan label ( value 6) |
− | label string will store in ITTS global share memory ITTS_G_S_MEMnn (nn=1..64) | + | * label string will store in ITTS global share memory ITTS_G_S_MEMnn (nn=1..64) |
− | target ITTS will get the label string form ITTS_G_S_MEMnn to search his test plan, return the Node ID | + | * target ITTS will get the label string form ITTS_G_S_MEMnn to search his test plan, return the Node ID |
− | 40n | + | * 40n |
− | 401 arrange ITTSn's position as best arrangement ( for multiple ITTS widows arrangement ) | + | * 401 arrange ITTSn's position as best arrangement ( for multiple ITTS widows arrangement ) |
− | 402 set ITTS to normal size 780* 620 | + | * 402 set ITTS to normal size 780* 620 |
− | + | * | |
− | 41x (ITTS 20.13.12.05 or later) | + | * 41x (ITTS 20.13.12.05 or later) |
− | 410 | + | * 410 minimize ITTS UI |
− | minimize ITTS UI | + | * 411 restore (show ITTS UI from minimum ) |
− | 411 | + | * 412 maximum window size |
− | restore (show ITTS UI from minimum ) | + | * 501 get others ITTS status |
− | 412 | + | * |
− | maximum window size | ||
− | |||
− | 501 get others ITTS status | ||
// 0: dead | // 0: dead | ||
// 1: ready | // 1: ready |
於 2020年3月24日 (二) 14:57 的修訂
Message / Multiple ITTS application
ITTS could accept message form other's AP since version 2.3.0.8
Section 1:
ITTS or UTS
Section 2:
Message
Command:
SEND
- value 1: MIn
- value 2: Max
- value 3: Handle, the others ITTS handle number that you want to send
- value 4: command type
- value 5: sub command
- value 6: Label string
command type:
- 001 run ITTS ( some other AP send message, ask ITTS to run)
- 101 run ITTS one node (sub command :node number in that target ITTS test plan
- 201 run ITTS from node Value 5 (sub command :node number in that target ITTS test plan
- 3nn get node ID by test plan label ( value 6)
- label string will store in ITTS global share memory ITTS_G_S_MEMnn (nn=1..64)
- target ITTS will get the label string form ITTS_G_S_MEMnn to search his test plan, return the Node ID
- 40n
- 401 arrange ITTSn's position as best arrangement ( for multiple ITTS widows arrangement )
- 402 set ITTS to normal size 780* 620
- 41x (ITTS 20.13.12.05 or later)
- 410 minimize ITTS UI
- 411 restore (show ITTS UI from minimum )
- 412 maximum window size
- 501 get others ITTS status
// 0: dead
// 1: ready // 2: running
related link : share memory
Example1
<Item> <Text> </Text> <Description> ask ITTS2 run</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> ITTS</ItemSection1> <ItemSection2> Message</ItemSection2> <ItemCommand> Send</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>['&ITTS_2_HANDLE']</Content> <Description>Value3</Description> </i3> <i4> <Content>001</Content> <Description>Value4</Description> </i4> </Parameter> </Item>
Example2
<Item> <Text> </Text> <Description> ask ITTS2 run node 6 only</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> ITTS</ItemSection1> <ItemSection2> Message</ItemSection2> <ItemCommand> Send</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>['&ITTS_2_HANDLE']</Content> <Description>Value3</Description> </i3> <i4> <Content>101</Content> <Description>Value4</Description> </i4> <i5> <Content>6</Content> <Description>Value5</Description> </i5> </Parameter> </Item>
example: Scrip 3
<Item> <Text> </Text> <Description> ask ITTS2 run from node 6</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> ITTS</ItemSection1> <ItemSection2> Message</ItemSection2> <ItemCommand> Send</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>['&ITTS_2_HANDLE']</Content> <Description>Value3</Description> </i3> <i4> <Content>201</Content> <Description>Value4</Description> </i4> <i5> <Content>6</Content> <Description>Value5</Description> </i5> </Parameter> </Item>