C# Class ConfigurationSetupUtility.Screens.SetupInProgressScreen

Interaction logic for SetupInProgressScreen.xaml
Inheritance: System.Windows.Controls.UserControl, IScreen
Datei anzeigen Open project: GridProtectionAlliance/openPDC

Public Methods

Method Description
SetupInProgressScreen ( ) : System

Creates a new instance of the SetupInProgressScreen class.

Private Methods

Method Description
AddRolesForNode ( IDbConnection connection, string nodeID ) : void

Adds three default roles for newly added node (Administrator, Editor, Viewer).

AppendStatusMessage ( string message ) : void
AttemptToStopKeyProcesses ( ) : void
CheckIfDatabaseExists ( string connectionString, string dataProviderString, string databaseName ) : bool

Checks if user requested database already exists.

ClearStatusMessages ( ) : void
CreateNewNode ( string connectionString, string dataProviderString ) : void

Creates a brand new node based on the selected node ID.

GetExistingLoginNames ( string connectionString, string dataProviderString ) : string[]
GetServiceAccountName ( ) : string

Gets the account name that the openPDC service is running under.

ManageDefaultNode ( IDbConnection connection, bool sampleDataScript, bool defaultNodeHasBeenAdded ) : bool

Checks to see if sample database script was selected to be run. If not, then create default node otherwise assign default nodeID to m_state["selectedNodeId"]

ModifyConfigFile ( string configFileName, string connectionString, string dataProviderString, bool encrypted, bool serviceConfigFile ) : void
ModifyConfigFile2 ( string configFileName, string connectionString, string dataProviderString, bool encrypted, bool serviceConfigFile ) : void
ModifyConfigFiles ( string connectionString, string dataProviderString, bool encrypted ) : void
OnSetupFailed ( ) : void
OnSetupSucceeded ( ) : void
RemoveCachedConfiguration ( ) : void
SaveOldConnectionString ( ) : void
SetUpConfiguration ( object state ) : void
SetUpDatabase ( ) : void
SetUpInitialHistorian ( string connectionString, string dataProviderString ) : void
SetUpMySqlDatabase ( ) : void
SetUpOracleDatabase ( ) : void
SetUpPostgresDatabase ( ) : void
SetUpSqlServerDatabase ( ) : void
SetUpSqliteDatabase ( ) : void
SetUpStatisticsHistorian ( string connectionString, string dataProviderString ) : void
SetUpWebServiceConfiguration ( ) : void
SetUpXmlConfiguration ( ) : void
SetupAdminUserCredentials ( string connectionString, string dataProviderString ) : void
UpdateProgressBar ( int value ) : void

Method Details

SetupInProgressScreen() public method

Creates a new instance of the SetupInProgressScreen class.
public SetupInProgressScreen ( ) : System
return System