Command Class

Represents a command to execute a symbol of the TwinCAT HMI server or a TwinCAT HMI server extension.

Inheritance Hierarchy

SystemObject
  TcHmiSrv.CoreCommand

Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public sealed class Command : ICopyable<Command>, 
    IDeepCopyable<Command>, IShallowCopyable<Command>, IEquatable<Command>, 
    IExchangeable<Command>, ICommandMapper

The Command type exposes the following members.

Constructors

 

Name

Description

Command Class 1:

Command

Initializes a new instance of the Command class.

Command Class 2:

Command(String)

Initializes a new instance of the Command class with the specified name.

Properties

 

Name

Description

Command Class 3:

Changed

Contains a value that indicates whether the Command has changed.

Command Class 4:

CustomerData

Contains the customer data associated with this Command. This can be used to identify multiple calls to the same symbol in one request.

Command Class 5:

Domain

Gets the domain of the symbol.

Command Class 6:

ExtensionData

Contains optional extension data associated with this Command. This can be used to add additional information to the Command.

Command Class 7:

ExtensionResult

Contains the extension result of the Command.

Command Class 8:

HasPaging

Gets a value that indicates whether the result will be filtered.

Command Class 9:

HasSymbolOptions

Gets a value that indicates whether the Command has symbol options.

Command Class 10:

IsSet

Gets a value that indicates whether the Command is set.

Command Class 11:

Mapping

Gets the mapping of the symbol.

Command Class 12:

Name

Contains the name of the symbol.

Command Class 13:

Options

Contains the CommandOptions of the symbol.

Command Class 14:

Paging

Gets the filter of the symbol used by this Command. Filters can be used to set rules for reducing the size of returned Values of type Vector or Map. If your TwinCAT HMI server extension handles the filtering or paging itself set PagingHandled.

Command Class 15:

Path

Gets the path of the Mapping.

Command Class 16:

ProcessedEnd

Contains the DateTime that indicates when processing the data in this Command ended.

Command Class 17:

ProcessedStart

Contains the DateTime that indicates when processing the data in this Command started.

Command Class 18:

ReadValue

Contains the read value of the Command.

Command Class 19:

Result

Gets the result of the symbol.

Command Class 20:

ResultString

Contains the result String of the Command.

Command Class 21:

SubsymbolHandled

Contains a value that indicates whether the resolution of a subsymbol is handled by the TwinCAT HMI server extension. The default value is false.

Command Class 22:

SymbolOptions

Gets the options of the symbol.

Command Class 23:

WriteValue

Contains the write value of the Command.

Methods

 

Name

Description

Command Class 24:

DeepCopy

Creates a new object that is a deep copy of the current Command.

Command Class 25:

Equals(Command)

Indicates whether the current Command is equal to another Command.

Command Class 26:

Equals(Object)

Determines whether the specified Object is equal to the current Command.
(Overrides ObjectEquals(Object))

Command Class 27:

GetHashCode

Serves as the default hash function.
(Overrides ObjectGetHashCode)

Command Class 28:

GetType

Gets the Type of the current instance.
(Inherited from Object)

Command Class 29:

SetProcessedEnd

Sets the DateTime that indicates when processing the data in this Command ended to SteadyTime.Now.

Command Class 30:

SetProcessedStart

Sets the DateTime that indicates when processing the data in this Command started to SteadyTime.Now.

Command Class 31:

ShallowCopy

Creates a new Command that is a shallow copy of the current Command.

Command Class 32:

ToString

Returns a String that represents the Name of the current Command.
(Overrides ObjectToString)

Operators

 

Name

Description

Command Class 33:

Command Class 34:

Equality(Command, Command)

Determines whether two instances of the Command class are equal.

Command Class 35:

Command Class 36:

Inequality(Command, Command)

Determines whether two instances of the Command class are not equal.

Extension Methods

 

Name

Description

Command Class 37:

ToJson

Returns an unformatted JSON String that represents the current Command.
(Defined by CommandExtensions)

Command Class 38:

ToJson

Returns an unformatted JSON String that represents the current Command.
(Defined by CommandExtensions)

Command Class 39:

ToJson

Returns a JSON String that represents the current Command.
(Defined by CommandExtensions)

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG