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

A base class for classes that implement an OPC COM specification.
상속: ComProxy
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

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

Adds the group.

BrowseDown ( string targetName ) : void

Moves the current browse position down.

BrowseForElements ( string itemId, string continuationPoint, int maxElementsReturned, int elementTypeMask, string nameFilter, string &revisedContinuationPoint ) : IList

Browses the specified item id.

BrowseForItems ( string filter, short dataTypeFilter, int accessRightsFilter ) : IList

Browse for all items below the current branch.

BrowseForNames ( bool isBranch, string filter, short dataTypeFilter, int accessRightsFilter ) : IList

Browses the current branch.

BrowseTo ( string itemId ) : void

Moves the current browse position to the specified item.

BrowseUp ( ) : void

Moves the current browse position up.

ComDaProxy ( ) : System

Initializes a new instance of the ComDaProxy class.

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.

GetItemId ( string browseName ) : string

Gets the item id for the specified browse element.

GetItemIds ( string itemId, int propertyIds, string &itemIds ) : IList

Gets the item ids for the properties.

GetProperties ( ComDaReadPropertiesRequest requests ) : IList

Gets the properties.

GetProperties ( string itemId ) : IList

Gets the properties.

GetPropertyValues ( string itemId, int propertyIds ) : DaValue[]

Gets the property values.

Read ( string itemIds ) : DaValue[]

Reads the values for the specified item ids.

RemoveGroup ( ComDaGroup group ) : void

Removes the group.

Write ( string itemIds, DaValue values ) : int[]

Writes the values for the specified item ids.

보호된 메소드들

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

An overrideable version of the Dispose.

OnSessionCreated ( ) : void

Called when a new session is created.

OnSessionReconected ( ) : void

Called when a session is reconnected.

OnSessionRemoved ( ) : void

Called when a session is removed.

비공개 메소드들

메소드 설명
MapPropertyReadStatusToErrorCode ( StatusCode statusCode ) : int

Converts a StatusCode returned during a Read to an HRESULT.

MapReadStatusToErrorCode ( StatusCode statusCode ) : int

Converts a StatusCode returned during a Read to an HRESULT.

MapWriteStatusToErrorCode ( DataValue value, StatusCode statusCode ) : int

Converts a StatusCode returned during a Write to an HRESULT.

메소드 상세

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

BrowseDown() 공개 메소드

Moves the current browse position down.
public BrowseDown ( string targetName ) : void
targetName string
리턴 void

BrowseForElements() 공개 메소드

Browses the specified item id.
public BrowseForElements ( string itemId, string continuationPoint, int maxElementsReturned, int elementTypeMask, string nameFilter, string &revisedContinuationPoint ) : IList
itemId string The item id.
continuationPoint string The continuation point.
maxElementsReturned int The max elements returned.
elementTypeMask int The element type mask.
nameFilter string The name filter.
revisedContinuationPoint string The revised continuation point.
리턴 IList

BrowseForItems() 공개 메소드

Browse for all items below the current branch.
public BrowseForItems ( string filter, short dataTypeFilter, int accessRightsFilter ) : IList
filter string The filter.
dataTypeFilter short The data type filter.
accessRightsFilter int The access rights filter.
리턴 IList

BrowseForNames() 공개 메소드

Browses the current branch.
public BrowseForNames ( bool isBranch, string filter, short dataTypeFilter, int accessRightsFilter ) : IList
isBranch bool if set to true the return branches.
filter string The filter.
dataTypeFilter short The data type filter.
accessRightsFilter int The access rights filter.
리턴 IList

BrowseTo() 공개 메소드

Moves the current browse position to the specified item.
public BrowseTo ( string itemId ) : void
itemId string
리턴 void

BrowseUp() 공개 메소드

Moves the current browse position up.
public BrowseUp ( ) : void
리턴 void

ComDaProxy() 공개 메소드

Initializes a new instance of the ComDaProxy class.
public ComDaProxy ( ) : System
리턴 System

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[]

GetItemId() 공개 메소드

Gets the item id for the specified browse element.
public GetItemId ( string browseName ) : string
browseName string The name of the browse element.
리턴 string

GetItemIds() 공개 메소드

Gets the item ids for the properties.
public GetItemIds ( string itemId, int propertyIds, string &itemIds ) : IList
itemId string The item id.
propertyIds int The property ids.
itemIds string The item ids.
리턴 IList

GetProperties() 공개 메소드

Gets the properties.
public GetProperties ( ComDaReadPropertiesRequest requests ) : IList
requests ComDaReadPropertiesRequest The requests.
리턴 IList

GetProperties() 공개 메소드

Gets the properties.
public GetProperties ( string itemId ) : IList
itemId string The item id.
리턴 IList

GetPropertyValues() 공개 메소드

Gets the property values.
public GetPropertyValues ( string itemId, int propertyIds ) : DaValue[]
itemId string The item id.
propertyIds int The property ids.
리턴 DaValue[]

OnSessionCreated() 보호된 메소드

Called when a new session is created.
protected OnSessionCreated ( ) : void
리턴 void

OnSessionReconected() 보호된 메소드

Called when a session is reconnected.
protected OnSessionReconected ( ) : void
리턴 void

OnSessionRemoved() 보호된 메소드

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

Read() 공개 메소드

Reads the values for the specified item ids.
public Read ( string itemIds ) : DaValue[]
itemIds string The item ids.
리턴 DaValue[]

RemoveGroup() 공개 메소드

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

Write() 공개 메소드

Writes the values for the specified item ids.
public Write ( string itemIds, DaValue values ) : int[]
itemIds string The item ids.
values DaValue The values.
리턴 int[]