/// <summary>
 /// デバイス設定を保存する
 /// </summary>
 public static void Save(DeviceSetting deviceSettig)
 {
     ActionModeData.Save(deviceSettig.ActionMode);
     SnoreSensitivityData.Save(deviceSettig.SnoreSensitivity);
     SuppressionStrengthData.Save(deviceSettig.SuppressionStrength);
     SuppressionOperationMaxTimeData.Save(deviceSettig.SuppressionOperationMaxTime);
     SuppressionStartTimeData.Save(deviceSettig.SuppressionStartTime);
 }
            /// <summary>
            /// デバイス設定を読み込む
            /// </summary>
            /// <returns>デバイス設定</returns>
            public static DeviceSetting Load()
            {
                var actionMode                  = ActionModeData.Load();
                var snoreSensitivity            = SnoreSensitivityData.Load();
                var suppressionStrength         = SuppressionStrengthData.Load();
                var suppressionOperationMaxTime = SuppressionOperationMaxTimeData.Load();
                var suppressionStartTime        = SuppressionStartTimeData.Load();

                return(new DeviceSetting()
                {
                    ActionMode = actionMode,
                    SnoreSensitivity = snoreSensitivity,
                    SuppressionStrength = suppressionStrength,
                    SuppressionOperationMaxTime = suppressionOperationMaxTime,
                    SuppressionStartTime = suppressionStartTime
                });
            }