Field Proc

出自ITTS
於 2020年10月28日 (三) 14:51 由 Vincentcheng2116討論 | 貢獻 所做的修訂
跳至導覽 跳至搜尋

Example: Scrip call and back

Field proc.jpg

Example Code
Field process itts ver.png

example: field_proc to verify itts version

copy xml contents and paste to scrip editor

    <Item> 
      <Text> </Text> 
      <Description> Check ITTS Version</Description> 
      <ItemType> 2</ItemType> 
      <Skip> 1</Skip> 
      <ItemSection1> Variable</ItemSection1> 
      <ItemSection2> Field_Proc</ItemSection2> 
      <ItemCommand> </ItemCommand> 
      <FailAction> </FailAction> 
      <FieldName> ITTS_VER</FieldName> 
      <FieldNumber> 7</FieldNumber> 
      <ErrorCode> TDE300;</ErrorCode> 
      <RetryTimes> 0</RetryTimes> 
      <RetryDelay> 0</RetryDelay> 
      <Process> </Process> 
      <FieldType> ;</FieldType> 
      <Parameter> 
        <i1>
          <Content>02101010</Content>
          <Description>min</Description>
        </i1>
        <i2>
          <Content>99999999</Content>
          <Description>max</Description>
        </i2>
        <i3>
          <Content>['&ITTS_VER']</Content>
          <Description>Version</Description>
        </i3>
      </Parameter> 
    </Item> 


copy xml contents and paste to scrip editor

[ITTS_Scrip]