using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
///
/// MeterOpenModel Data Structure.
///
[Serializable]
public class MeterOpenModel : AopObject
{
///
/// 平均速度,数字字符串,保留1位小数。type=AVG_SPEED_KM_PER_HOUR时必填
///
[XmlElement("avg_speed")]
public string AvgSpeed { get; set; }
///
/// 项目消耗的卡路里,单位:kcal 。type=CALORIE时必填
///
[XmlElement("calorie")]
public long Calorie { get; set; }
///
/// 距离,单位:米。type=DISTANCE时必填
///
[XmlElement("distance")]
public long Distance { get; set; }
///
/// 时长,单位秒。type=DURATION时必填
///
[XmlElement("duration")]
public long Duration { get; set; }
///
/// 每组次数。type=COUNT时必填
///
[XmlElement("rep")]
public long Rep { get; set; }
///
/// 组数。type=COUNT时必填
///
[XmlElement("set")]
public long Set { get; set; }
///
/// 计量单位类型.枚举:数量(COUNT),时长(DURATION),距离(DISTANCE),平均速度_千米每小时(AVG_SPEED_KM_PER_HOUR)
///
[XmlElement("type")]
public string Type { get; set; }
}
}