1 {"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBTrainTarget"}],"languages":["swift"],"platforms":["iOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/iotbluetooth\/ibtraintarget"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/com.thisiot.IOTBluetooth\/Se","doc:\/\/com.thisiot.IOTBluetooth\/SE"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"训练目标设置模型"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBTrainTarget"}],"title":"IBTrainTarget","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:12IOTBluetooth13IBTrainTargetC","modules":[{"name":"IOTBluetooth"}],"navigatorTitle":[{"kind":"identifier","text":"IBTrainTarget"}]},"hierarchy":{"paths":[["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/init()","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/init(from:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/calorie","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/distance","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/step","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/time","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/type"]}],"references":{"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBTrainTarget/distance":{"role":"symbol","title":"distance","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"distance"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"目标距离,单位米"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/distance","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibtraintarget\/distance"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBTrainTarget/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibtraintarget\/init(from:)"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth":{"role":"collection","title":"IOTBluetooth","abstract":[],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth"},"doc://com.thisiot.IOTBluetooth/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/com.thisiot.IOTBluetooth\/SE"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBTrainTarget/calorie":{"role":"symbol","title":"calorie","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"calorie"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"目标卡路里,单位kcal"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/calorie","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibtraintarget\/calorie"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBTrainTarget":{"role":"symbol","title":"IBTrainTarget","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBTrainTarget"}],"abstract":[{"type":"text","text":"训练目标设置模型"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"IBTrainTarget"}],"url":"\/documentation\/iotbluetooth\/ibtraintarget"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBTrainTarget/step":{"role":"symbol","title":"step","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"step"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"目标步数,单位步"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/step","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibtraintarget\/step"},"doc://com.thisiot.IOTBluetooth/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/com.thisiot.IOTBluetooth\/Se"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBTrainTarget/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/init()","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibtraintarget\/init()"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBTrainTarget/time":{"role":"symbol","title":"time","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"time"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"目标时间,单位分钟"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/time","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibtraintarget\/time"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBTrainTarget/type":{"role":"symbol","title":"type","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"type"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IBTrainTargetType","preciseIdentifier":"s:12IOTBluetooth17IBTrainTargetTypeO"}],"abstract":[{"type":"text","text":"目标类型,对应的类型,设置对应的值"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBTrainTarget\/type","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibtraintarget\/type"}}}