Custom Pages
153
The HTML code with the parameters in the window above is as follows:
Note: In this example, when the user presses the button the value 10 is applied to
address 1 and the value 50 to address 2 for 15,000 ms. After 15,000 ms the two
address are set to the value 0 (resetValue).
<APPLET
codebase="/classes"
archive="mbclient.jar,widgetslite.jar"
code="com.schneiderautomation.factorycast.gateway.pushButton
.LivePushButtonApplet"
width="180" height="160" >
<PARAM name="progressbar" value="true">
<PARAM name="progresscolor" value="#000000">
<PARAM name="debug" value="0">
<PARAM name="BACKGRND" value="LT_GRAY">
<PARAM name="address" value="1">
<PARAM name="datatype" value="REGISTER">
<PARAM name="label" value="label">
<PARAM name="values" value="10,50">
<PARAM name="resetValues" value="0">
<PARAM name="resetDelay" value="15000">
<PARAM name="borderWidth" value="25">
<PARAM name="buttonLabel" value="button">
<PARAM name="rate" value="1000">
<PARAM name="unitID" value="255">
</APPLET>
Commenti su questo manuale