C# 클래스 FileSystem.ControllerState

상속: Opc.Ua.BaseObjectState
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
CheckForChanges ( ISystemContext context ) : void

Checks if the file has changed since the last check.

ControllerState ( ISystemContext context, FileInfo fileInfo ) : System

Initializes a controller from a file.

ControllerState ( NodeState parent ) : System

Initializes the type with its default attribute values.

GetChildren ( ISystemContext context, IList children ) : void

Populates a list with the children that belong to the node.

GetFile ( ISystemContext context, Opc.Ua.NodeId controllerId ) : FileInfo

Returns the file for the controller.

UpdateValues ( ISystemContext context ) : void

Upates the tag values from the CSV file.

보호된 메소드들

메소드 설명
FindChild ( ISystemContext context, Opc.Ua.QualifiedName browseName, bool createOrReplace, BaseInstanceState replacement ) : BaseInstanceState

Finds the child with the specified browse name.

GetDefaultTypeDefinitionId ( Opc.Ua.NamespaceTable namespaceUris ) : Opc.Ua.NodeId

Returns the id of the default type definition node for the instance.

Initialize ( ISystemContext context ) : void

Initializes the instance.

InitializeOptionalChildren ( ISystemContext context ) : void

Initializes the any option children defined for the instance.

OnAfterCreate ( ISystemContext context, NodeState node ) : void

Sets up callbacks for dynamic variables.

비공개 메소드들

메소드 설명
GetValueByName ( string name ) : object

Returns the value of the tag with the specified name.

ReadTemperature ( ISystemContext context, NodeState node, object &value ) : ServiceResult

Reads the temperature for the controller.

ReadTemperatureSetPoint ( ISystemContext context, NodeState node, object &value ) : ServiceResult

Reads the temperature set point for the controller.

SetValueByName ( string name, object value ) : void

Sets the value of the tag with the specified name.

WriteTemperatureSetPoint ( ISystemContext context, NodeState node, object &value ) : ServiceResult

Write the temperature set point for the controller.

메소드 상세

CheckForChanges() 공개 메소드

Checks if the file has changed since the last check.
public CheckForChanges ( ISystemContext context ) : void
context ISystemContext
리턴 void

ControllerState() 공개 메소드

Initializes a controller from a file.
public ControllerState ( ISystemContext context, FileInfo fileInfo ) : System
context ISystemContext
fileInfo FileInfo
리턴 System

ControllerState() 공개 메소드

Initializes the type with its default attribute values.
public ControllerState ( NodeState parent ) : System
parent NodeState
리턴 System

FindChild() 보호된 메소드

Finds the child with the specified browse name.
protected FindChild ( ISystemContext context, Opc.Ua.QualifiedName browseName, bool createOrReplace, BaseInstanceState replacement ) : BaseInstanceState
context ISystemContext
browseName Opc.Ua.QualifiedName
createOrReplace bool
replacement Opc.Ua.BaseInstanceState
리턴 Opc.Ua.BaseInstanceState

GetChildren() 공개 메소드

Populates a list with the children that belong to the node.
public GetChildren ( ISystemContext context, IList children ) : void
context ISystemContext The context for the system being accessed.
children IList The list of children to populate.
리턴 void

GetDefaultTypeDefinitionId() 보호된 메소드

Returns the id of the default type definition node for the instance.
protected GetDefaultTypeDefinitionId ( Opc.Ua.NamespaceTable namespaceUris ) : Opc.Ua.NodeId
namespaceUris Opc.Ua.NamespaceTable
리턴 Opc.Ua.NodeId

GetFile() 공개 정적인 메소드

Returns the file for the controller.
public static GetFile ( ISystemContext context, Opc.Ua.NodeId controllerId ) : FileInfo
context ISystemContext
controllerId Opc.Ua.NodeId
리턴 FileInfo

Initialize() 보호된 메소드

Initializes the instance.
protected Initialize ( ISystemContext context ) : void
context ISystemContext
리턴 void

InitializeOptionalChildren() 보호된 메소드

Initializes the any option children defined for the instance.
protected InitializeOptionalChildren ( ISystemContext context ) : void
context ISystemContext
리턴 void

OnAfterCreate() 보호된 메소드

Sets up callbacks for dynamic variables.
protected OnAfterCreate ( ISystemContext context, NodeState node ) : void
context ISystemContext
node NodeState
리턴 void

UpdateValues() 공개 메소드

Upates the tag values from the CSV file.
public UpdateValues ( ISystemContext context ) : void
context ISystemContext
리턴 void