C# Class Opc.Ua.Client.Controls.HistoryEventCtrl

Displays the results from a history read operation.
Inheritance: System.Windows.Forms.UserControl
Mostra file Open project: OPCFoundation/UA-.NET

Private Properties

Property Type Description
EndTimeCK_CheckedChanged void
GoBTN_Click void
InitializeComponent void
NextBTN_Click void
NodeIdBTN_Click void
ReadTypeCB_SelectedIndexChanged void
StartTimeCK_CheckedChanged void
StartTimeDP_ValueChanged void
TimeShiftBTN_Click void

Public Methods

Method Description
ChangeNode ( Opc.Ua.NodeId nodeId ) : void

Changes the node monitored by the control.

ChangeSession ( Session session ) : void

Changes the session.

GetBrowsePathFromNodeState ( ISystemContext context, Opc.Ua.NodeId rootId, NodeState parent, RelativePath parentPath, BrowsePathCollection browsePaths ) : void

Recursively collects the variables in a NodeState and returns a collection of BrowsePaths.

HistoryEventCtrl ( ) : System

Constructs a new instance.

Reset ( ) : void

A kludge to get around the stupid designer that keeps setting property values to bogus defaults.

SessionReconnected ( Session session ) : void

Updates the control after the session has reconnected.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
EndTimeCK_CheckedChanged ( object sender, EventArgs e ) : void
GoBTN_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

NextBTN_Click ( object sender, EventArgs e ) : void
NodeIdBTN_Click ( object sender, EventArgs e ) : void
ReadTypeCB_SelectedIndexChanged ( object sender, EventArgs e ) : void
StartTimeCK_CheckedChanged ( object sender, EventArgs e ) : void
StartTimeDP_ValueChanged ( object sender, EventArgs e ) : void
TimeShiftBTN_Click ( object sender, EventArgs e ) : void

Method Details

ChangeNode() public method

Changes the node monitored by the control.
public ChangeNode ( Opc.Ua.NodeId nodeId ) : void
nodeId Opc.Ua.NodeId
return void

ChangeSession() public method

Changes the session.
public ChangeSession ( Session session ) : void
session Opc.Ua.Client.Session
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetBrowsePathFromNodeState() public method

Recursively collects the variables in a NodeState and returns a collection of BrowsePaths.
public GetBrowsePathFromNodeState ( ISystemContext context, Opc.Ua.NodeId rootId, NodeState parent, RelativePath parentPath, BrowsePathCollection browsePaths ) : void
context ISystemContext
rootId Opc.Ua.NodeId
parent NodeState
parentPath Opc.Ua.RelativePath
browsePaths BrowsePathCollection
return void

HistoryEventCtrl() public method

Constructs a new instance.
public HistoryEventCtrl ( ) : System
return System

Reset() public method

A kludge to get around the stupid designer that keeps setting property values to bogus defaults.
public Reset ( ) : void
return void

SessionReconnected() public method

Updates the control after the session has reconnected.
public SessionReconnected ( Session session ) : void
session Opc.Ua.Client.Session
return void