Ejemplo n.º 1
0
        public override string InitIO(string port)
        {
            // debug
            HS.WriteLog(Utility.PluginName, "Entering InitIO");

            // initialise everything here, return a blank string only if successful, or an error message
            // initialise everything here, return a blank string only if successful, or an error message
            _iniSettings = new IniSettings(HS);
            _iniSettings.LoadSettingsFromIniFile();
            _logging    = new Logging(_iniSettings, HS);
            _mainPlugin = new MainPlugin(HS, _logging, _iniSettings, Callback, new HsCollectionFactory());
            _mainPlugin.InitIO(port);
            // debug

            HS.WriteLog(Name, "Completed InitIO");
            return("");
        }