OnCommandEx

<< Click to Display Table of Contents >>

 

OnCommandEx

OnCommandEx(CommandInfo)

This event is triggered whenever any Command is executed, just like the OnCommand event. The CommandInfo parameter is a PowerCommandInfo-type object that contains all properties described on the next table, which are all Read-Only.

Properties of the PowerCommandInfo object

Property

Description

CommandInfo.ActorID

Name of the user sending this Command. It can be Elipse Power Viewer's user logon, "Anonymous" if there is no logged in user, or "System" if this method's call started at the server

CommandInfo.CommandAction

An integer that indicates the type of Command sent (1: Operate, 2: Select, or 3: Cancel)

CommandInfo.CommandUnit

Command Unit object receiving this command

CommandInfo.FeedbackValue

Indicates the return value configured in the Template, referring to the command operation sent (Operate, Select, or Cancel)

CommandInfo.WriteValue

Indicates the writing value referring to the command operation sent (Operate, Select, or Cancel)

Was this page useful?