IServerWriteResultObject

[ Interface ]

Version 1.10

export interface IServerWriteResultObject extends IWriteResultObject {
    response?: TcHmi.Server.IMessage;
}

Version 1.12

export interface IServerWriteResultObject<T = any> extends IWriteResultObject<T> {
    response?: TcHmi.Server.IMessage<T>;
}

Extends IWriteResultObject

Properties

Name

Type

Description

error

Errors

Cause of the fault

details [ optional ]

 

IErrorDetails

Optional details about error. Content depends on the function used and the error.

value [ optional ]

Version 1.10

any

Version 1.12

T

Contains the value that was written if no error occurred.

response [ optional ]

Version 1.10

TcHmi.Server.IMessage

Version 1.12

TcHmi.Server.IMessage<T>

Contains the response object of the server, if available.

processedStart [ optional ]

Available from version 1.12

string

It is set by the TwinCAT HMI server when a corresponding request from the TwinCAT HMI server contains a timestamp in ISO 8601 format indicating the time when the operation on the server started.

processedEnd [ optional ]

Available from version 1.12

string

It is set by the TwinCAT HMI server when a corresponding request from the TwinCAT HMI server contains a timestamp in ISO 8601 format indicating the time when the operation on the server was complete.

IServerWriteResultObject 1:

Available from version 1.10