「ITTS:ITTS:ITTS Scrip:Change Format」修訂間的差異

出自ITTS
跳至導覽 跳至搜尋
(已建立頁面,內容為 "=== Example: LRC calculation === '''copy xml contents and paste to scrip editor''' <Item> <Text> </Text> <Description> original Str s1</De…")
 
 
(未顯示同一使用者於中間所作的 4 次修訂)
行 1: 行 1:
 +
check sum 計算 (用於hex code check sum 的計算)
 
=== Example: LRC calculation ===  
 
=== Example: LRC calculation ===  
 
'''copy xml contents and paste to scrip editor'''
 
'''copy xml contents and paste to scrip editor'''
          <Item>  
+
    <Item>  
 
       <Text> </Text>  
 
       <Text> </Text>  
 
       <Description> original Str s1</Description>  
 
       <Description> original Str s1</Description>  
行 62: 行 63:
 
         </i3>
 
         </i3>
 
       </Parameter>  
 
       </Parameter>  
     </Item>
+
     </Item>
 
 
 
 
<gallery>
 
field_proc.jpg|Caption1
 
</gallery>
 

於 2020年6月17日 (三) 09:24 的最新修訂

check sum 計算 (用於hex code check sum 的計算)

Example: LRC calculation[編輯]

copy xml contents and paste to scrip editor

    <Item> 
      <Text> </Text> 
      <Description> original Str s1</Description> 
      <ItemType> 2</ItemType> 
      <Skip> 1</Skip> 
      <ItemSection1> variable</ItemSection1> 
      <ItemSection2> s1</ItemSection2> 
      <ItemCommand> str=</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>["01069004000F"]</Content>
          <Description>Value3</Description>
        </i3>
      </Parameter> 
    </Item> 
    <Item> 
      <Text> </Text> 
      <Description> proc add space LRC remove space</Description> 
      <ItemType> 2</ItemType> 
      <Skip> 1</Skip> 
      <ItemSection1> variable</ItemSection1> 
      <ItemSection2> s1_LRC</ItemSection2> 
      <ItemCommand> str=</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>['&STR_VAR:S1':s([all])+'&STR_VAR:S1':LRC([all])];</Content>
          <Description>Value3</Description>
        </i3>
      </Parameter> 
    </Item>