- No category
advertisement
Preliminary Reference Information
PRI Name
Access
Since revision
PRI Number
Mod date
eWON Java interface user guide
OEM, DIST
5.2
PRI-0006-0
17. Aug 2007
Build
70
TagControl: Map eWON Tag to monitor and manage tags
Class: com.ewon.ewonitf.TagControl
PRI-0006-0-EN-(eWON Java interface user guide)_1_3 Page 7/30
Preliminary Reference Information
PRI Name
Access
Since revision
PRI Number
Mod date
eWON Java interface user guide
OEM, DIST
5.2
PRI-0006-0
17. Aug 2007
Build
70
This class is used to map a tag and provides utility function to set or read tag value and alarm status.
An instance of this object is created by specifying one of the
•
•
•
•
• tag name tag id tag ndx another tag control
Nothing, but then you can adjust the tag relation later or even update it.
Test class
The Test class for the TagControl class is: com.ewon.ewontest.TestTagControl
Example:
This example is an excerpt from the TestTagControl.
This function gives a few examples of the methods available for reading/writing tag values, log the tag in the historical files (irc files), acknowledge the alarms.
PRI-0006-0-EN-(eWON Java interface user guide)_1_3 Page 8/30
Preliminary Reference Information
PRI Name
Access
Since revision
PRI Number
Mod date
eWON Java interface user guide
OEM, DIST
5.2
PRI-0006-0
17. Aug 2007
Build
70
PRI-0006-0-EN-(eWON Java interface user guide)_1_3 Page 9/30
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 3 Intoduction: JAVA & eWON interactions
- 4 Know which JavaETK version you are running
- 4 In your Java application
- 4 In the eWON Web interface
- 4 In the Java documentation
- 5 SysControlBlock: Reading and writing configuration
- 5 Class: com.ewon.ewonitf.SysControlBlock
- 5 Test class
- 5 Example
- 6 IOManager: Read/Write tags IO. Manage led and button
- 6 Class: com.ewon.ewonitf.IOManager
- 6 Test class
- 6 Example:
- 7 TagControl: Map eWON Tag to monitor and manage tags
- 7 Class: com.ewon.ewonitf.TagControl
- 8 Test class
- 8 Example:
- 10 DefaultEventHandler: Manage eWON events form Java
- 10 Class: com.ewon.ewonitf.DefaultEventHandler
- 12 Create Web forms
- 15 Manage Tag events (value change and alarm)
- 17 Receive SMS using
- 18 Check eWON Button events
- 18 Check PPP, VPN, WAN connect/disconnect events
- 18 Test class
- 19 Loader: Load data in the eWON (configuration for ex.)
- 19 Class: com.ewon.ewonitf.Loader
- 19 Test class
- 19 Example
- 20 Exporter: Transfer an Export Block Descriptor to an output stream
- 20 Class: com.ewon.ewonitf.Exporter
- 20 Test class
- 20 Example
- 21 ModemManager: Read SMS, reset modem, ...
- 21 Class: com.ewon.ewonitf.ModemManager
- 21 Test class
- 21 Example
- 23 ScheduledActionManager: Sendmail, PutFTP etc...
- 23 Class: com.ewon.ewonitf.ScheduledActionManager
- 23 Test class
- 23 Example:
- 25 RuntimeControl: Java watchdog, reseet and reboot
- 25 Class: com.ewon.ewonitf.RuntimeControl
- 25 Test class
- 25 Example
- 25 EventManager: log events in events.txt and in “real time log”.
- 25 Class: com.ewon.ewonitf.EventManager
- 25 Test class
- 26 Example
- 26 EwonSystem: Get “system up time” and set the clock
- 26 Class: com.ewon.ewonitf.EwonSystem
- 26 Test class
- 26 Example
- 26 StorageControl: Erase system data, config and files, or save config
- 26 Class: com.ewon.ewonitf.StorageControl
- 27 Test class
- 27 Example
- 27 NetManager: Close PPP connection, get interface information
- 27 Class: com.ewon.ewonitf.NetManager
- 27 Test class
- 27 Example
- 28 CommConnection: Working with serial port.
- 28 Class: javax.microedition.io.CommConnection
- 28 Test Class
- 28 Example
- 29 Flash File System
- 29 Class: javax.microedition.io.FileConnection
- 29 Example
- 30 Using IP sockets
- 30 Asynchronous events