using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//----------------------------------------------------------------
//Module Name: $safeprojectname$
//Purpose:
//CopyRight: Muchinfo
//History:
//----------------------------------------------------------------
//DateTime 2016/10/17 15:04:48
//Author
//Description Create
//----------------------------------------------------------------
using Muchinfo.MTPClient.Data.Helper;
namespace Muchinfo.MTPClient.Data.Quote
{
public class QuoteTradePlan
{
///
/// 交易所代码
///
public string ExchangeCode { get; set; }
///
/// 市场类型ID
///
public int MarketTypeID { get; set; }
///
/// 交易日
///
public DateTime TradeDay { get; set; }
///
/// 交易运行时间段
///
public List OpenCloseDates { get; set; }
///
/// 商品ID
///
public uint GoodsId { get; set; }
}
///
/// 用于Json序列化字段
///
public class TimeSection
{
///
/// 市场类型ID
///
public int id { get; set; }
///
/// 运行阶段
///
public int RunStep { get; set; }
///
/// 交易日(UTC时间)
///
public uint TradeDay { get; set; }
///
/// 开始时间(UTC时间)
///
public uint BeginTime { get; set; }
///
/// 结束时间(UTC时间)
///
public uint EndTime { get; set; }
///
/// 商品ID
///
public uint GoodsId { get; set; }
}
///
///
///
public class RunstepSections
{
///
///
///
public TimeSection[] plans { get; set; }
}
public class MarketTypeStatus
{
///
/// 市场ID
///
public int Id { get; set; }
///
/// 类型
///
public uint Type { get; set; }
///
/// 交易日
///
public string TradeDay { get; set; }
}
///
/// 行情交易时间
///
public class QuoteTradeTime
{
// c.goodsgroupid,
//c.exchareaid,
//c.goodsid,
//a.markettypeid,
//C.RUNSTEP,
//A.TRADEDATE,
// BEGINTIME
// ENDTIME
///
/// 交易所Id
///
[PropertyDisc("ExchAreaid")]
public uint ExchAreaid { get; set; }
///
/// 商品组id
///
[PropertyDisc("goodsgroupid")]
public uint GoodsGroupid { get; set; }
///
/// 商品ID
///
[PropertyDisc("goodsid")]
public string Goodsids { get; set; }
///
/// 市场类型
///
[PropertyDisc("markettypeid")]
public uint Markettypeid { get; set; }
///
/// 运行阶段
///
[PropertyDisc("RUNSTEP")]
public eRunStep RunStep { get; set; }
///
/// 交易日
///
[PropertyDisc("TRADEDATE")]
public DateTime TradeDate { get; set; }
///
/// 开始时间
///
[PropertyDisc("BEGINTIME")]
public DateTime BeginTime { get; set; }
///
/// 开始时间
///
[PropertyDisc("ENDTIME")]
public DateTime EndTime { get; set; }
}
}