C# 클래스 Opc.Ua.Com.Server.ComDaGroupManager

A class that manages the COM DA groups.
상속: IDisposable
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
AddGroup ( string groupName, bool active, int updateRate, int clientHandle, int timeBias, float deadband, int lcid ) : ComDaGroup

Adds the group.

ComDaGroupManager ( ComNamespaceMapper mapper, ComDaBrowseManager browser ) : System

Initializes a new instance of the ComDaGroupManager class.

Dispose ( ) : void

Frees any unmanaged resources.

GetGroupByHandle ( int serverHandle ) : ComDaGroup

Gets the group by handle.

GetGroupByName ( string groupName ) : ComDaGroup

Gets the group with the specified name.

GetGroups ( ) : Opc.Ua.Com.Server.ComDaGroup[]

Returns the current set of groups.

OnSessionRemoved ( ) : void

Called when a session is removed.

OnSessionReplaced ( ) : void

Called when a session is replaced.

Read ( ReadValueIdCollection valuesToRead ) : DaValue[]

Reads the attribute values from the server.

RecoverSessionContext ( ComDaGroup group ) : void

Recovers the session context.

RemoveGroup ( ComDaGroup group ) : void

Removes the group.

SetGroupName ( ComDaGroup group, string groupName ) : void

Sets the name.

SetLastUpdateTime ( ) : void

Sets the last update time to the current time.

UpdateItemEuInfo ( ComDaGroup group, IList items ) : void

Updates the EUInfo for the items.

ValidateItems ( ComDaGroup group, ComDaCreateItemRequest requests ) : Opc.Ua.Com.Server.ComDaGroupItem[]

Validates the items.

Write ( WriteValueCollection valuesToWrite ) : int[]

Reads the attribute values from the server.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

비공개 메소드들

메소드 설명
TraceState ( string context ) : void

Dumps the current state of the browser.

ValidateItems ( Session session, ComDaGroup group, ComDaCreateItemRequest requests, Opc.Ua.Com.Server.ComDaGroupItem items, int start, int count ) : void

Validates the items by reading the attributes required to add them to the group.

메소드 상세

AddGroup() 공개 메소드

Adds the group.
public AddGroup ( string groupName, bool active, int updateRate, int clientHandle, int timeBias, float deadband, int lcid ) : ComDaGroup
groupName string The group name.
active bool if set to true the group is active.
updateRate int The update rate.
clientHandle int The client handle.
timeBias int The time bias.
deadband float The deadband.
lcid int The lcid.
리턴 ComDaGroup

ComDaGroupManager() 공개 메소드

Initializes a new instance of the ComDaGroupManager class.
public ComDaGroupManager ( ComNamespaceMapper mapper, ComDaBrowseManager browser ) : System
mapper ComNamespaceMapper The mapper.
browser ComDaBrowseManager The browser.
리턴 System

Dispose() 공개 메소드

Frees any unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetGroupByHandle() 공개 메소드

Gets the group by handle.
public GetGroupByHandle ( int serverHandle ) : ComDaGroup
serverHandle int The server handle.
리턴 ComDaGroup

GetGroupByName() 공개 메소드

Gets the group with the specified name.
public GetGroupByName ( string groupName ) : ComDaGroup
groupName string Name of the group.
리턴 ComDaGroup

GetGroups() 공개 메소드

Returns the current set of groups.
public GetGroups ( ) : Opc.Ua.Com.Server.ComDaGroup[]
리턴 Opc.Ua.Com.Server.ComDaGroup[]

OnSessionRemoved() 공개 메소드

Called when a session is removed.
public OnSessionRemoved ( ) : void
리턴 void

OnSessionReplaced() 공개 메소드

Called when a session is replaced.
public OnSessionReplaced ( ) : void
리턴 void

Read() 공개 메소드

Reads the attribute values from the server.
public Read ( ReadValueIdCollection valuesToRead ) : DaValue[]
valuesToRead ReadValueIdCollection The values to read.
리턴 DaValue[]

RecoverSessionContext() 공개 메소드

Recovers the session context.
public RecoverSessionContext ( ComDaGroup group ) : void
group ComDaGroup The group.
리턴 void

RemoveGroup() 공개 메소드

Removes the group.
public RemoveGroup ( ComDaGroup group ) : void
group ComDaGroup The group.
리턴 void

SetGroupName() 공개 메소드

Sets the name.
public SetGroupName ( ComDaGroup group, string groupName ) : void
group ComDaGroup The group.
groupName string Name of the group.
리턴 void

SetLastUpdateTime() 공개 메소드

Sets the last update time to the current time.
public SetLastUpdateTime ( ) : void
리턴 void

UpdateItemEuInfo() 공개 메소드

Updates the EUInfo for the items.
public UpdateItemEuInfo ( ComDaGroup group, IList items ) : void
group ComDaGroup The group.
items IList The items. Null entries are ignored.
리턴 void

ValidateItems() 공개 메소드

Validates the items.
public ValidateItems ( ComDaGroup group, ComDaCreateItemRequest requests ) : Opc.Ua.Com.Server.ComDaGroupItem[]
group ComDaGroup The group.
requests ComDaCreateItemRequest The requests.
리턴 Opc.Ua.Com.Server.ComDaGroupItem[]

Write() 공개 메소드

Reads the attribute values from the server.
public Write ( WriteValueCollection valuesToWrite ) : int[]
valuesToWrite WriteValueCollection The values to write.
리턴 int[]