EasyManua.ls Logo

Panasonic TGP600

Panasonic TGP600
68 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
52
5.2.13. SetVariables
[Overview]
SetVariable is used to create & update system wide read/write variable.
The variable will store a string value that can be referring back at the later stage.
This variable life span is until system reboot.
This variable is registrable by 16 kinds or less.
[Naming Rule of Variables]
Rules of variable name:
- Can be any combinations of String (alphabet + number + Multi-byte character code)
- White space, symbol and special character are not allowed
- Example of valid variable name: @MyVariable123, @aB12Cd, @textBox1
- Example of invalid variable name: @MyName_Textbox, @Hello~!^%,
[Example usage of SetVariable]
- Store the XML server URL path,
<SetVariable key="@serverPath" value="http://192.168.0.100/path" />
- For referring the variables
Value which stored in variables can be referred by following way
<PictureBox name="PBox1" left="0" top="0" width="120" height="55" source="@serverPath/a.bmp" />
<HDV330/430>
<PictureBox name="PBox1" left="0" top="27" width="120" height="55" source="@serverPath/a.bmp" />
* Height of status bar is 27 pixels.
[Definition]
Child Element 1
Attribute
Value
m/o
Functionality
SetVariable
m
key
@ followed by a~z,A~Z,0~9
e.g. @myId, @food2
m
System wide read/write :
Prefix character is @.
1~64 characters
value
Except '&', '"', '<'
m
1~64 characters
[Syntax]
[To Set variables]
<ppxml
xmlns="http://panasonic/sip_phone"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://panasonic/sip_phone sip_phone.xsd">
<Screen name="Screen1" version=“3.0”>
<Components>
<Label name="MyNameLabel" line="2" text="Label1"
textAlignment="Left" showDateTime="true" refreshDateTime="52" />
</Components>
</Screen>
<SetVariables>
<SetVariable key="@SystemValue" value="MyNameLabel" />
</SetVariables>
</ppxml>
[To Refer variables]
<ppxml
xmlns="http://panasonic/sip_phone"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://panasonic/sip_phone sip_phone.xsd">

Table of Contents

Other manuals for Panasonic TGP600

Related product manuals