Files
GSFV2/lib/model/data/ICSkipSoundSettingData.dart
2024-04-10 12:51:20 +05:30

56 lines
1.1 KiB
Dart
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import 'package:icdevicemanager_flutter/model/other/ICConstant.dart';
import 'package:json_annotation/json_annotation.dart';
part 'ICSkipSoundSettingData.g.dart';
@JsonSerializable()
class ICSkipSoundSettingData {
/*
是否开启语音开关
*/
bool soundOn = false;
/*
语音类型
*/
ICSkipSoundType soundType = ICSkipSoundType.ICSkipSoundTypeFemale;
/*
声音大小
*/
int soundVolume = 0;
/*
满分开关
*/
bool fullScoreOn = false;
/*
满分速率
*/
int fullScoreBPM = 0;
/*
语音间隔模式
*/
ICSkipSoundMode soundMode = ICSkipSoundMode.ICSkipSoundModeCount;
/*
模式参数
*/
int modeParam = 0;
/*
是否自动停止播放true:APP下发开始后跳绳不会播放语音 false:跳绳和APP都会播放语音
*/
bool isAutoStop = false;
ICSkipSoundSettingData();
factory ICSkipSoundSettingData.fromJson(Map<String, dynamic> json) => _$ICSkipSoundSettingDataFromJson(json);
Map<String, dynamic> toJson() => _$ICSkipSoundSettingDataToJson(this);
}