ITTS Scrip:Message
於 2020年10月28日 (三) 14:54 由 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:[編輯]
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>