NewGaoKaoApi/PaymentSDK/AliPay/Domain/MeterOpenModel.cs

55 lines
1.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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