public override void OnStart(PartModule.StartState state)
        {
            if (!HighLogic.LoadedSceneIsEditor && !HighLogic.LoadedSceneIsFlight)
            {
                return;
            }

            //Create the multiConverter. We have to do this when we're in the VAB/SPH.
            if (_multiConverter == null)
            {
                _multiConverter = new MultiConverterModel(this.part, this.vessel, new LogDelegate(Log));
            }

            //Create the module ops window.
            createModuleOpsView();

            //Now we can call the base method.
            base.OnStart(state);

            //Start the multiConverter
            _multiConverter.OnStart(state);

            //Fix module indexes (for things like the science lab)
            fixModuleIndexes();
        }
        public override void OnLoad(ConfigNode node)
        {
            base.OnLoad(node);

            //Create the multiConverter
            _multiConverter = new MultiConverterModel(this.part, this.vessel, new LogDelegate(Log));

            //Tell multiConverter to store converter status.
            _multiConverter.Load(node);
        }
        public override void OnStart(PartModule.StartState state)
        {
            if (!HighLogic.LoadedSceneIsEditor && !HighLogic.LoadedSceneIsFlight)
                return;

            //Create the multiConverter. We have to do this when we're in the VAB/SPH.
            if (_multiConverter == null)
                _multiConverter = new MultiConverterModel(this.part, this.vessel, new LogDelegate(Log));

            //Create the module ops window.
            createModuleOpsView();

            //Now we can call the base method.
            base.OnStart(state);

            //Start the multiConverter
            _multiConverter.OnStart(state);

            //Fix module indexes (for things like the science lab)
            fixModuleIndexes();
        }
        public override void OnLoad(ConfigNode node)
        {
            base.OnLoad(node);

            //Create the multiConverter
            _multiConverter = new MultiConverterModel(this.part, this.vessel, new LogDelegate(Log));

            //Tell multiConverter to store converter status.
            _multiConverter.Load(node);
        }