private void LocalDBCreate()
        {
            FileWorks fw = new FileWorks();

            string path = fw.GetSaveFilePath();

            if (path != "")
            {
                dbManager = new dbLocalManager(path);
                dbManager.ReportMessage -= DbManager_ReportMessage;
                dbManager.ReportMessage += DbManager_ReportMessage;
            }

            Model.isLocalDBConnected = true;
        }
        private void SaveConfiguration()
        {
            if (Model.selectedOPCserver != null)
            {
                Model.SaveServer();
            }

            dbConfManager config = new dbConfManager();
            FileWorks     fw     = new FileWorks();

            string path = fw.GetSaveFilePath();

            if (path != "")
            {
                config.Save(Model.configuredServer, path);
            }
        }