「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(討論 | 貢獻) |
||
| (未顯示同一使用者於中間所作的 3 次修訂) | |||
| 行 10: | 行 10: | ||
* value 1: MIn | * value 1: MIn | ||
| − | * value 2: Max | + | * value 2: Max |
| − | |||
* value 3: Handle, the others ITTS handle number that you want to send | * value 3: Handle, the others ITTS handle number that you want to send | ||
* value 4: command type | * value 4: command type | ||
* value 5: sub command | * value 5: sub command | ||
| − | * value 6: Label string | + | * value 6: Label string |
=== 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 minimize ITTS UI |
| − | 410 | + | ** 411 restore (show ITTS UI from minimum ) |
| − | minimize ITTS UI | + | ** 412 maximum window size |
| − | 411 | + | * 501 get others ITTS status |
| − | restore (show ITTS UI from minimum ) | + | **// 0: dead |
| − | 412 | + | **// 1: ready |
| − | maximum window size | + | **// 2: running |
| − | |||
| − | 501 get others ITTS status | ||
| − | // 0: dead | ||
| − | |||
| − | |||
related link : [[ITTS_Scrip:share memory|share memory]] | related link : [[ITTS_Scrip:share memory|share memory]] | ||
| 行 165: | 行 159: | ||
</Parameter> | </Parameter> | ||
</Item> | </Item> | ||
| + | |||
| + | [[http://intretech-tw.synology.me/mediawiki/index.php?title=ITTS_Scrip ITTS_Scrip_Command]] | ||
於 2020年10月28日 (三) 14:54 的最新修訂
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>