「Picture」修訂間的差異
跳至導覽
跳至搜尋
Vincentcheng2116(討論 | 貢獻) |
Vincentcheng2116(討論 | 貢獻) |
||
| (未顯示同一使用者於中間所作的 23 次修訂) | |||
| 行 8: | 行 8: | ||
==== Load ==== | ==== Load ==== | ||
load picture. picture support file format JPG. BMP | load picture. picture support file format JPG. BMP | ||
| + | {| class="mw-collapsible mw-collapsed wikitable" | ||
| + | ! Example Code | ||
| + | |- | ||
| + | | | ||
| + | [[檔案:PictureLoad.jpg]] | ||
| + | |||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> picture load</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> picture</ItemSection1> | ||
| + | <ItemSection2> </ItemSection2> | ||
| + | <ItemCommand> load</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>['&ITTSPATH'+"resource\Default\default.jpg"]</Content> | ||
| + | <Description>Value3</Description> | ||
| + | </i3> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | |||
| + | |||
| + | |} | ||
| + | '''To change ITTS picture area (size).''' | ||
| + | * change ITTS Mode ( Engineer Mode / Operator Mode / MFG mode) | ||
| + | * picture Optimize command | ||
==== Clear ==== | ==== Clear ==== | ||
| − | clear picture | + | clear picture |
| + | {| class="mw-collapsible mw-collapsed wikitable" | ||
| + | ! Example Code | ||
| + | |- | ||
| + | | | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> picture load</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> picture</ItemSection1> | ||
| + | <ItemSection2> </ItemSection2> | ||
| + | <ItemCommand> clear</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></Content> | ||
| + | <Description>Value3</Description> | ||
| + | </i3> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | |||
| + | |||
| + | |} | ||
==== Load Status Picture ==== | ==== Load Status Picture ==== | ||
| 行 19: | 行 100: | ||
Clear Status Picture | Clear Status Picture | ||
| − | ==== TextOut ==== | + | ==== [[Picture_TextOut|TextOut]] ==== |
| + | |||
| + | |||
| + | {| class="mw-collapsible mw-collapsed wikitable" | ||
| + | ! Example Code | ||
| + | |- | ||
| + | | | ||
| + | [[檔案:Textout1.jpg]]<br> | ||
| + | [[檔案:Textout2.jpg]] | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> textOut</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> picture</ItemSection1> | ||
| + | <ItemSection2> </ItemSection2> | ||
| + | <ItemCommand> textOut</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>20</Content> | ||
| + | <Description>X</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>100</Content> | ||
| + | <Description>Y</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>Arial</Content> | ||
| + | <Description>font name</Description> | ||
| + | </i5> | ||
| + | <i6> | ||
| + | <Content>30</Content> | ||
| + | <Description>font size</Description> | ||
| + | </i6> | ||
| + | <i7> | ||
| + | <Content>$FF0000</Content> | ||
| + | <Description>color</Description> | ||
| + | </i7> | ||
| + | <i8> | ||
| + | <Content>$0080FF</Content> | ||
| + | <Description>back color</Description> | ||
| + | </i8> | ||
| + | <i9> | ||
| + | <Content>["O123456789;;;asdfghjklASDFGHJKL"]</Content> | ||
| + | <Description>char</Description> | ||
| + | </i9> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> textOut</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> picture</ItemSection1> | ||
| + | <ItemSection2> </ItemSection2> | ||
| + | <ItemCommand> textOut</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>20</Content> | ||
| + | <Description>X</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>150</Content> | ||
| + | <Description>Y</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>consolas</Content> | ||
| + | <Description>font name</Description> | ||
| + | </i5> | ||
| + | <i6> | ||
| + | <Content>30</Content> | ||
| + | <Description>font size</Description> | ||
| + | </i6> | ||
| + | <i7> | ||
| + | <Content>$0000FF</Content> | ||
| + | <Description>color</Description> | ||
| + | </i7> | ||
| + | <i8> | ||
| + | <Content>$00ff00</Content> | ||
| + | <Description>back color</Description> | ||
| + | </i8> | ||
| + | <i9> | ||
| + | <Content>["O123456789;;;asdfghjklASDFGHJKL"]</Content> | ||
| + | <Description>char</Description> | ||
| + | </i9> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | |||
| + | |||
| + | |||
| + | |} | ||
| + | |||
| + | '''related link : [[ASCII|ASC II table]] 選擇不同的字形(font name) 可以顯示特殊符號''' | ||
| + | |||
==== OPTIMIZE ==== | ==== OPTIMIZE ==== | ||
if Command is Optimize, val3= 1 or True. ITTS will enlarge the Picture area | if Command is Optimize, val3= 1 or True. ITTS will enlarge the Picture area | ||
set Val3 = 0 or False , ITTS will change back to default picture area. | set Val3 = 0 or False , ITTS will change back to default picture area. | ||
| + | |||
| + | {| class="mw-collapsible mw-collapsed wikitable" | ||
| + | ! Example Code | ||
| + | |- | ||
| + | | | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> picture optimize</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> Picture</ItemSection1> | ||
| + | <ItemSection2> </ItemSection2> | ||
| + | <ItemCommand> Optimize</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>1</Content> | ||
| + | <Description>Value3</Description> | ||
| + | </i3> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> picture not optimize</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> Picture</ItemSection1> | ||
| + | <ItemSection2> </ItemSection2> | ||
| + | <ItemCommand> Optimize</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>0</Content> | ||
| + | <Description>Value3</Description> | ||
| + | </i3> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | |||
| + | |||
| + | |} | ||
| + | |||
| + | '''[https://intretech-tw.synology.me/ITTS/Scrip_Command/ScripCommand/Picture.htm online Picture command help]'''<br> | ||
| − | + | [[ITTS:ITTS_Scrip|back]] | |
於 2025年11月21日 (五) 09:45 的最新修訂
Section 1[編輯]
Picture
Section 2[編輯]
--
Commands[編輯]
Load[編輯]
load picture. picture support file format JPG. BMP
| Example Code |
|---|
<Item>
<Text> </Text>
<Description> picture load</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> picture</ItemSection1>
<ItemSection2> </ItemSection2>
<ItemCommand> load</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>['&ITTSPATH'+"resource\Default\default.jpg"]</Content>
<Description>Value3</Description>
</i3>
</Parameter>
</Item>
|
To change ITTS picture area (size).
- change ITTS Mode ( Engineer Mode / Operator Mode / MFG mode)
- picture Optimize command
Clear[編輯]
clear picture
| Example Code |
|---|
<Item>
<Text> </Text>
<Description> picture load</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> picture</ItemSection1>
<ItemSection2> </ItemSection2>
<ItemCommand> clear</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></Content>
<Description>Value3</Description>
</i3>
</Parameter>
</Item>
|
Load Status Picture[編輯]
Load Status Picture: instruction Picture under MP mode, picture support file format JPG. BMP,GIF ITTS will search .\ resource\[language path]\*.* under ITTS directory.
Clear Status Picture[編輯]
Clear Status Picture
TextOut[編輯]
| Example Code |
|---|
<Item>
<Text> </Text>
<Description> textOut</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> picture</ItemSection1>
<ItemSection2> </ItemSection2>
<ItemCommand> textOut</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>20</Content>
<Description>X</Description>
</i3>
<i4>
<Content>100</Content>
<Description>Y</Description>
</i4>
<i5>
<Content>Arial</Content>
<Description>font name</Description>
</i5>
<i6>
<Content>30</Content>
<Description>font size</Description>
</i6>
<i7>
<Content>$FF0000</Content>
<Description>color</Description>
</i7>
<i8>
<Content>$0080FF</Content>
<Description>back color</Description>
</i8>
<i9>
<Content>["O123456789;;;asdfghjklASDFGHJKL"]</Content>
<Description>char</Description>
</i9>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> textOut</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> picture</ItemSection1>
<ItemSection2> </ItemSection2>
<ItemCommand> textOut</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>20</Content>
<Description>X</Description>
</i3>
<i4>
<Content>150</Content>
<Description>Y</Description>
</i4>
<i5>
<Content>consolas</Content>
<Description>font name</Description>
</i5>
<i6>
<Content>30</Content>
<Description>font size</Description>
</i6>
<i7>
<Content>$0000FF</Content>
<Description>color</Description>
</i7>
<i8>
<Content>$00ff00</Content>
<Description>back color</Description>
</i8>
<i9>
<Content>["O123456789;;;asdfghjklASDFGHJKL"]</Content>
<Description>char</Description>
</i9>
</Parameter>
</Item>
|
related link : ASC II table 選擇不同的字形(font name) 可以顯示特殊符號
OPTIMIZE[編輯]
if Command is Optimize, val3= 1 or True. ITTS will enlarge the Picture area set Val3 = 0 or False , ITTS will change back to default picture area.
| Example Code |
|---|
<Item>
<Text> </Text>
<Description> picture optimize</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> Picture</ItemSection1>
<ItemSection2> </ItemSection2>
<ItemCommand> Optimize</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>1</Content>
<Description>Value3</Description>
</i3>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> picture not optimize</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> Picture</ItemSection1>
<ItemSection2> </ItemSection2>
<ItemCommand> Optimize</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>0</Content>
<Description>Value3</Description>
</i3>
</Parameter>
</Item>
|


