4eb7f2efc3a95298b78943841ef1293cea5897cd
[mirrors/HsFileAgentSdk_iOS.git] /
1 {"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBHistoryBaseTrainingItem"}],"languages":["swift"],"platforms":["iOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/iotbluetooth\/ibhistorybasetrainingitem"],"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\/IBHistoryBaseTrainingItem","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"基础训练历史数据模型"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBHistoryBaseTrainingItem"}],"title":"IBHistoryBaseTrainingItem","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:12IOTBluetooth25IBHistoryBaseTrainingItemC","modules":[{"name":"IOTBluetooth"}],"navigatorTitle":[{"kind":"identifier","text":"IBHistoryBaseTrainingItem"}]},"hierarchy":{"paths":[["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/init(from:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/calorie","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/circle","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/distance","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/duration","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/elevation","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/heartRate","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/otherType","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/progress","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/source","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/star","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/step","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/stop","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/target","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/targetType","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/trainingLevel","doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/trainingType"]}],"references":{"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/otherType":{"role":"symbol","title":"otherType","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"otherType"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"(仅W4)0:健身类1:舞蹈类2:休闲运动3:球类4:水上项目5:冰上项目6:极限运动7:其他"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/otherType","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/othertype"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/targetType":{"role":"symbol","title":"targetType","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"targetType"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"训练目标类型,0:路程 1:卡路里 2:时间 3:步数"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/targetType","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/targettype"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/source":{"role":"symbol","title":"source","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"source"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"0:手表开启的训练1:APP开启的训练"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/source","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/source"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/progress":{"role":"symbol","title":"progress","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"progress"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"目标完成度,单位%"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/progress","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/progress"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/trainingType":{"role":"symbol","title":"trainingType","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"trainingType"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"训练类型,0:健走1:跑步2:骑行以上适用W2\/W3,W4该字段表示各训练大类中的小类,对应训练名称参考 自由训练176.xlsx 表格。"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/trainingType","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/trainingtype"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/heartRate":{"role":"symbol","title":"heartRate","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"heartRate"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"平均运动心率"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/heartRate","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/heartrate"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/target":{"role":"symbol","title":"target","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"target"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"训练目标  路程:单位米, 卡路里:单位kcal  ,时间:单位分钟  ,步数:单位步"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/target","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/target"},"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/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/elevation":{"role":"symbol","title":"elevation","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"elevation"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"最高海拔高度(仅限登山训练)"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/elevation","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/elevation"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/star":{"role":"symbol","title":"star","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"star"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"训练开始时间戳,单位秒"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/star","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/star"},"doc://com.thisiot.IOTBluetooth/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/com.thisiot.IOTBluetooth\/Se"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/duration":{"role":"symbol","title":"duration","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"duration"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"训练总时间,单位秒"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/duration","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/duration"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/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\/IBHistoryBaseTrainingItem\/step","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/step"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/trainingLevel":{"role":"symbol","title":"trainingLevel","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"trainingLevel"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"训练强度(仅W4), 0 = 较低强度,1 = 中等强度,2 = 高等强度,3 = 超高强度"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/trainingLevel","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/traininglevel"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/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":"卡路里,为该数值乘以0.1,单位kcal"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/calorie","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/calorie"},"doc://com.thisiot.IOTBluetooth/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/com.thisiot.IOTBluetooth\/SE"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem":{"role":"symbol","title":"IBHistoryBaseTrainingItem","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"IBHistoryBaseTrainingItem"}],"abstract":[{"type":"text","text":"基础训练历史数据模型"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"IBHistoryBaseTrainingItem"}],"url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/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\/IBHistoryBaseTrainingItem\/distance","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/distance"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/stop":{"role":"symbol","title":"stop","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"stop"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"训练结束时间戳,单位秒"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/stop","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/stop"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/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\/IBHistoryBaseTrainingItem\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/init(from:)"},"doc://com.thisiot.IOTBluetooth/documentation/IOTBluetooth/IBHistoryBaseTrainingItem/circle":{"role":"symbol","title":"circle","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"circle"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"圈数(仅限跑步训练)"}],"identifier":"doc:\/\/com.thisiot.IOTBluetooth\/documentation\/IOTBluetooth\/IBHistoryBaseTrainingItem\/circle","kind":"symbol","type":"topic","url":"\/documentation\/iotbluetooth\/ibhistorybasetrainingitem\/circle"}}}