<< Click to Display Table of Contents >>
OnCommand |
OnCommand(CommandInfo)
This event is triggered whenever a Discrete Command is executed, if the EnableWaterConfigEvent property is configured to True. The CommandInfo parameter is a WaterCommandInfo-type object that contains the properties described on the next table, which are all Read-Only.
Properties of the WaterCommandInfo object
Property |
Description |
---|---|
Name of the user sending this Command. It can be Elipse Water Viewer's user logon, "Anonymous" if there is no logged in user, or "System" if this method's call started at the server |
|
An integer that indicates the type of Command sent. Possible values for this property are 1: Operate, 2: Select, 3: Cancel, or 4: Operate with delay |
|
Command Unit object receiving this command |
|
Indicates the feedback value configured in the Template, referring to the command operation sent. Possible values for this property are Operate, Select, or Cancel |
|
Indicates the writing value referring to the command operation sent. Possible values for this property are Operate, Select ou Cancel |