public static void Status(bool quiet)
        {
            if (InstallationNeeded(quiet))
            {
                return;
            }

            var mode = Modes.ModeChanger.GetCurrentMode();

            OutputLine("Current control mode: " + mode.ToString(), quiet);

            if (mode == ControlMode.advanced)
            {
                var cpu = new Modes.AdvancedModeModel(FanType.cpu);
                var gpu = new Modes.AdvancedModeModel(FanType.gpu);

                OutputLine(cpu.ToString(), quiet);
                OutputLine(gpu.ToString(), quiet);
            }
            else if (mode == ControlMode.basic)
            {
                var model = new Modes.BasicModeModel();

                OutputLine(model.ToString(), quiet);
            }
        }
        public static void applyProfile(FanType type, int[] values)
        {
            AdvancedModeModel model = new AdvancedModeModel(type);

            foreach (var item in model.Enumerate().Select((value, i) => new { i, value }))
            {
                item.value.Value = (uint)values[item.i];
            }

            model.Commit();
        }