C# 클래스 Opc.Ua.Client.Controls.ConfiguredServerDlg

Prompts the user to edit a ComPseudoServerDlg.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BuildEndpointDescriptionStrings void
CreateDescriptionFromSelections EndpointDescription
DiscoverEndpoints bool
EndpointListLB_SelectedIndexChanged void
FindBestEndpointDescription EndpointDescription
InitializeComponent void
InitializeEncodings void
InitializeEndpointList void
InitializeProtocols void
InitializeSecurityModes void
InitializeSecurityPolicies void
OkBTN_Click void
OnDiscoverEndpoints void
OnUpdateEndpoints void
OnUpdateStatus void
ProtocolCB_SelectedIndexChanged void
SameAsDefaults bool
SecurityModeCB_SelectedIndexChanged void
SecurityPolicyCB_SelectedIndexChanged void
SelectCorrespondingEndpointFromList void
UpdateAdvancedEndpointInformation void
UpdateStatus void

공개 메소드들

메소드 설명
ConfiguredServerDlg ( ) : System

Initializes the dialog.

ShowDialog ( ApplicationDescription server, ApplicationConfiguration configuration ) : ConfiguredEndpoint

Displays the dialog.

ShowDialog ( ConfiguredEndpoint endpoint, ApplicationConfiguration configuration ) : ConfiguredEndpoint

Displays the dialog.

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
BuildEndpointDescriptionStrings ( EndpointDescriptionCollection endpoints ) : void

Creates the string representation of each EndpointDescription - to be used in the Endpoint Description List

CreateDescriptionFromSelections ( ) : EndpointDescription

Creates the endpoint description from current selections.

DiscoverEndpoints ( Uri discoveryUrl, String &message ) : bool

Fetches the servers from the discovery server.

EndpointListLB_SelectedIndexChanged ( object sender, EventArgs e ) : void
FindBestEndpointDescription ( EndpointDescriptionCollection endpoints ) : EndpointDescription

Finds the best match for the current protocol and security selections.

InitializeComponent ( ) : void

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

InitializeEncodings ( EndpointDescriptionCollection endpoints, EndpointDescription endpoint ) : void

Initializes the message encodings dropdown.

InitializeEndpointList ( List endpoints ) : void

Initializes the endpoint list control.

InitializeProtocols ( EndpointDescriptionCollection endpoints ) : void

Initializes the protocol dropdown.

InitializeSecurityModes ( EndpointDescriptionCollection endpoints ) : void

Initializes the security modes dropdown.

InitializeSecurityPolicies ( EndpointDescriptionCollection endpoints ) : void

Initializes the security policies dropdown.

OkBTN_Click ( object sender, EventArgs e ) : void
OnDiscoverEndpoints ( object state ) : void

Attempts fetch the list of servers from the discovery server.

OnUpdateEndpoints ( object state ) : void

Updates the list of servers displayed in the control.

OnUpdateStatus ( object status ) : void

Updates the status displayed in the dialog.

ProtocolCB_SelectedIndexChanged ( object sender, EventArgs e ) : void
SameAsDefaults ( EndpointConfiguration defaultConfiguration, EndpointConfiguration currentConfiguration ) : bool

Returns true if the configuration is the same as the default.

SecurityModeCB_SelectedIndexChanged ( object sender, EventArgs e ) : void
SecurityPolicyCB_SelectedIndexChanged ( object sender, EventArgs e ) : void
SelectCorrespondingEndpointFromList ( EndpointDescription endpoint ) : void
UpdateAdvancedEndpointInformation ( ) : void

Updates advanced endpoint information.

UpdateStatus ( ) : void

Updates the StatusTB text and color. Also enables/disables the OK button, should any error occurr (unsupported stuff etc).

메소드 상세

ConfiguredServerDlg() 공개 메소드

Initializes the dialog.
public ConfiguredServerDlg ( ) : System
리턴 System

Dispose() 보호된 메소드

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

ShowDialog() 공개 메소드

Displays the dialog.
public ShowDialog ( ApplicationDescription server, ApplicationConfiguration configuration ) : ConfiguredEndpoint
server ApplicationDescription
configuration ApplicationConfiguration
리턴 ConfiguredEndpoint

ShowDialog() 공개 메소드

Displays the dialog.
public ShowDialog ( ConfiguredEndpoint endpoint, ApplicationConfiguration configuration ) : ConfiguredEndpoint
endpoint ConfiguredEndpoint
configuration ApplicationConfiguration
리턴 ConfiguredEndpoint