// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'bedController.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

BedModel _$BedModelFromJson(Map<String, dynamic> json) => BedModel()
  ..patternType = (json['patternType'] as num).toInt()
  ..noAutoPattern = (json['noAutoPattern'] as num).toInt()
  ..zhuMianPattern = (json['zhuMianPattern'] as num).toInt()
  ..anMoStart = json['anMoStart'] as bool
  ..isAnMoBei = json['isAnMoBei'] as bool
  ..isAnMoTui = json['isAnMoTui'] as bool
  ..anMoPattern = (json['anMoPattern'] as num).toInt()
  ..slideValue_bei = (json['slideValue_bei'] as num).toDouble()
  ..slideValue_tui = (json['slideValue_tui'] as num).toDouble()
  ..timerPattern = (json['timerPattern'] as num).toInt()
  ..isZhuMian = json['isZhuMian'] as bool
  ..zhuMainInitTime = (json['zhuMainInitTime'] as num).toInt()
  ..zhuMainRunTime = (json['zhuMainRunTime'] as num).toInt()
  ..zhuMainRunAllTime = (json['zhuMainRunAllTime'] as num).toInt()
  ..useLastTime = (json['useLastTime'] as num).toInt()
  ..deviceMac = json['deviceMac'] as String?
  ..bodyData = json['bodyData'] as List<dynamic>;

Map<String, dynamic> _$BedModelToJson(BedModel instance) => <String, dynamic>{
      'patternType': instance.patternType,
      'noAutoPattern': instance.noAutoPattern,
      'zhuMianPattern': instance.zhuMianPattern,
      'anMoStart': instance.anMoStart,
      'isAnMoBei': instance.isAnMoBei,
      'isAnMoTui': instance.isAnMoTui,
      'anMoPattern': instance.anMoPattern,
      'slideValue_bei': instance.slideValue_bei,
      'slideValue_tui': instance.slideValue_tui,
      'timerPattern': instance.timerPattern,
      'isZhuMian': instance.isZhuMian,
      'zhuMainInitTime': instance.zhuMainInitTime,
      'zhuMainRunTime': instance.zhuMainRunTime,
      'zhuMainRunAllTime': instance.zhuMainRunAllTime,
      'useLastTime': instance.useLastTime,
      'deviceMac': instance.deviceMac,
      'bodyData': instance.bodyData,
    };
