using System; using HcUtility.Core; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; using Microsoft.Win32.SafeHandles; //需求编号:SR2017082500001,SR2017090400001 namespace DSWeb.MvcShipping.Models.MsOpSeaeYard { #region 长荣场站 Old /// /// 集港信息查询//140701083561 /// [JsonObject] public class MsOpSeaeYard_ChangRong_jgxx : ModelObjectBillHead { public MsOpSeaeYard_ChangRong_jgxx() { } #region 集港信息查询//140701083561 //[{"XYKBSJ-集港开始时间":"2017-09-06 16:40:00","HC-航次":"264A","MDGM-目的港":"PHCEB","BZBZ-备注":"","XYLBSJ-集港结束时间":"2017-09-06 17:00:00","RN-序号":1,"XSTDH-总单号":"140701083561","YWCM-船名(En)":"UNI-PROSPER","CGSM-船公司":"EMC","ZCMT-装船码头":"二期","YXYQ-箱型/箱量":"20GP*4","XHGM-卸货港":"XXPN5","ZWCM-船名(CH)":"立昌","SHDZ-送货地址":"三期"}] private string _XYKBSJ = ""; /// /// 集港开始时间":"2017-09-06 16:40:00" /// public string XYKBSJ { get { return _XYKBSJ; } set { _XYKBSJ = value; } } private string _HC = ""; /// /// 航次":"264A" /// public string HC { get { return _HC; } set { _HC = value; } } private string _MDGM = ""; /// /// 目的港":"PHCEB" /// public string MDGM { get { return _MDGM; } set { _MDGM = value; } } private string _BZBZ = ""; /// /// 备注 /// public string BZBZ { get { return _BZBZ; } set { _BZBZ = value; } } private string _XYLBSJ = ""; /// /// 集港结束时间":"2017-09-06 17:00:00" /// public string XYLBSJ { get { return _XYLBSJ; } set { _XYLBSJ = value; } } private int _RN = 0; /// /// 序号":1 /// public int RN { get { return _RN; } set { _RN = value; } } private string _XSTDH = ""; /// /// 总单号":"140701083561" /// public string XSTDH { get { return _XSTDH; } set { _XSTDH = value; } } private string _YWCM = ""; /// /// 船名(En)":"UNI-PROSPER" /// public string YWCM { get { return _YWCM; } set { _YWCM = value; } } private string _CGSM = ""; /// /// 船公司":"EMC" /// public string CGSM { get { return _CGSM; } set { _CGSM = value; } } private string _ZCMT = ""; /// /// 装船码头":"二期" /// public string ZCMT { get { return _ZCMT; } set { _ZCMT = value; } } private string _YXYQ = ""; /// /// 箱型/箱量":"20GP*4" /// public string YXYQ { get { return _YXYQ; } set { _YXYQ = value; } } private string _XHGM = ""; /// /// 卸货港":"XXPN5" /// public string XHGM { get { return _XHGM; } set { _XHGM = value; } } private string _ZWCM = ""; /// /// 船名(CH)":"立昌" /// public string ZWCM { get { return _ZWCM; } set { _ZWCM = value; } } private string _SHDZ = ""; /// /// 送货地址":"三期" /// public string SHDZ { get { return _SHDZ; } set { _SHDZ = value; } } #endregion } /// /// 箱货动态查询//140701083561 /// [JsonObject] public class MsOpSeaeYard_ChangRong_xhdt : ModelObjectBillHead { public MsOpSeaeYard_ChangRong_xhdt() { } #region 箱货动态查询//140701083561 //[{"XX-箱型":"GP","CC-尺寸":"20","XPZ-箱皮重":2300,"TXSJ-提箱时间":"2017-09-03 11:05:26","XH-箱号":"EMCU3841277","RN-序号":1,"KCPH-车号":"LBW8899","QFH1-铅封号":"EMCGZN8287","FCSJ-返场时间":"2017-09-05 15:21:14","JGSJ-集港时间":"","NWDBZ-内点/外点":"外点"} //,{"XX":"GP","CC":"20","XPZ":2300,"TXSJ":"2017-09-03 13:05:07","XH":"MAGU2469711","RN":2,"KCPH":"LBW8899","QFH1":"EMCGZN7817","FCSJ":"2017-09-05 16:41:13","JGSJ":"","NWDBZ":"外点"},{"XX":"GP","CC":"20","XPZ":2300,"TXSJ":"2017-09-03 13:05:07","XH":"TEMU3687642","RN":3,"KCPH":"LBW8899","QFH1":"EMCGZN7807","FCSJ":"2017-09-05 15:24:38","JGSJ":"","NWDBZ":"外点"},{"XX":"GP","CC":"20","XPZ":2300,"TXSJ":"2017-09-03 11:05:26","XH":"WFHU1426176","RN":4,"KCPH":"LBW8899","QFH1":"EMCGZN8297","FCSJ":"2017-09-05 15:29:44","JGSJ":"","NWDBZ":"外点"}] private string _XX = ""; /// /// 箱型":"GP" /// public string XX { get { return _XX; } set { _XX = value; } } private string _CC = ""; /// /// 尺寸":"20" /// public string CC { get { return _CC; } set { _CC = value; } } private Decimal _XPZ = 0; /// /// 箱皮重":2300 /// public Decimal XPZ { get { return _XPZ; } set { _XPZ = value; } } private string _TXSJ = ""; /// /// 提箱时间":"2017-09-03 11:05:26" /// public string TXSJ { get { return _TXSJ; } set { _TXSJ = value; } } private string _XH = ""; /// /// 箱号":"EMCU3841277" /// public string XH { get { return _XH; } set { _XH = value; } } private int _RN = 0; /// /// 序号":1 /// public int RN { get { return _RN; } set { _RN = value; } } private string _KCPH = ""; /// /// 车号":"LBW8899" /// public string KCPH { get { return _KCPH; } set { _KCPH = value; } } private string _QFH1 = ""; /// /// 铅封号":"EMCGZN8287" /// public string QFH1 { get { return _QFH1; } set { _QFH1 = value; } } private string _FCSJ = ""; /// /// 返场时间":"2017-09-05 15:21:14" /// public string FCSJ { get { return _FCSJ; } set { _FCSJ = value; } } private string _JGSJ = ""; /// /// 集港时间":"" /// public string JGSJ { get { return _JGSJ; } set { _JGSJ = value; } } private string _NWDBZ = ""; /// /// 内点/外点":"外点" /// public string NWDBZ { get { return _NWDBZ; } set { _NWDBZ = value; } } #endregion } /// /// 实际装货信息查询//140701083561 /// [JsonObject] public class MsOpSeaeYard_ChangRong_sjzh : ModelObjectBillHead { public MsOpSeaeYard_ChangRong_sjzh() { } #region 实际装货信息查询//140701083561 //[{"HZ-实装重量":25000,"TJ-实装尺码":20,"XX-箱型":"GP","CC-尺寸":"20","TDH-分提单号":"140701083561","XH-箱号":"EMCU3841277","RN-序号":1,"QFH1-铅封":"EMCGZN8287","BZLXM":"","JS-实装件数":1} //,{"HZ":25000,"TJ":20,"XX":"GP","CC":"20","TDH":"140701083561","XH":"WFHU1426176","RN":2,"QFH1":"EMCGZN8297","BZLXM":"","JS":1},{"HZ":25000,"TJ":20,"XX":"GP","CC":"20","TDH":"140701083561","XH":"TEMU3687642","RN":3,"QFH1":"EMCGZN7807","BZLXM":"","JS":1},{"HZ":25000,"TJ":20,"XX":"GP","CC":"20","TDH":"140701083561","XH":"MAGU2469711","RN":4,"QFH1":"EMCGZN7817","BZLXM":"","JS":1}] private Decimal _HZ = 0; /// /// 实装重量":25000 /// public Decimal HZ { get { return _HZ; } set { _HZ = value; } } private Decimal _TJ = 0; /// /// 实装尺码":20 /// public Decimal TJ { get { return _TJ; } set { _TJ = value; } } private string _XX = ""; /// /// 箱型":"GP" /// public string XX { get { return _XX; } set { _XX = value; } } private string _CC = ""; /// /// 尺寸":"20" /// public string CC { get { return _CC; } set { _CC = value; } } private string _TDH = ""; /// /// 分提单号":"140701083561" /// public string TDH { get { return _TDH; } set { _TDH = value; } } private string _XH = ""; /// /// 箱号":"EMCU3841277" /// public string XH { get { return _XH; } set { _XH = value; } } private int? _RN = 0; /// /// 序号":1 /// public int? RN { get { return _RN; } set { _RN = value; } } private string _QFH1 = ""; /// /// 铅封":"EMCGZN8287" /// public string QFH1 { get { return _QFH1; } set { _QFH1 = value; } } private string _BZLXM = ""; /// /// /// public string BZLXM { get { return _BZLXM; } set { _BZLXM = value; } } private int _JS = 0; /// /// 实装件数":1 /// public int JS { get { return _JS; } set { _JS = value; } } #endregion } #endregion #region 青岛港--长荣场站数据模型 20190425 public class OpSeaeJGXX_CRModel { /// /// Success /// public bool success { get; set; } /// /// Success /// public string code { get; set; } /// /// 集港信息 /// public respJgxx resp { get; set; } } public class OpSeaeXHDT_CRModel { /// /// Success /// public bool success { get; set; } /// /// Success /// public string code { get; set; } /// /// 箱货动态 /// public respXhdt resp; } public class OpSeaeZHXX_CRModel { /// /// Success /// public bool success { get; set; } /// /// Success /// public string code { get; set; } /// /// 装货信息 /// public respZhxx_CR resp; } public class respJgxx { public List list { get; set; } } public class respXhdt { public List list { get; set; } } public class respZhxx_CR { public List list { get; set; } } public class JgxxList_CR { //[{"XYKBSJ-集港开始时间":"2017-09-06 16:40:00","HC-航次":"264A","MDGM-目的港":"PHCEB","BZBZ-备注":"","XYLBSJ-集港结束时间":"2017-09-06 17:00:00","RN-序号":1,"XSTDH-总单号":"140701083561","YWCM-船名(En)":"UNI-PROSPER","CGSM-船公司":"EMC","ZCMT-装船码头":"二期","YXYQ-箱型/箱量":"20GP*4","XHGM-卸货港":"XXPN5","ZWCM-船名(CH)":"立昌","SHDZ-送货地址":"三期"}] private string _XYKBSJ = ""; /// /// 集港开始时间":"2017-09-06 16:40:00" /// public string XYKBSJ { get { return _XYKBSJ; } set { _XYKBSJ = value; } } private string _HC = ""; /// /// 航次":"264A" /// public string HC { get { return _HC; } set { _HC = value; } } private string _MDGM = ""; /// /// 目的港":"PHCEB" /// public string MDGM { get { return _MDGM; } set { _MDGM = value; } } private string _BZBZ = ""; /// /// 备注 /// public string BZBZ { get { return _BZBZ; } set { _BZBZ = value; } } private string _XYLBSJ = ""; /// /// 集港结束时间":"2017-09-06 17:00:00" /// public string XYLBSJ { get { return _XYLBSJ; } set { _XYLBSJ = value; } } private int _RN = 0; /// /// 序号":1 /// public int RN { get { return _RN; } set { _RN = value; } } private string _XSTDH = ""; /// /// 总单号":"140701083561" /// public string XSTDH { get { return _XSTDH; } set { _XSTDH = value; } } private string _YWCM = ""; /// /// 船名(En)":"UNI-PROSPER" /// public string YWCM { get { return _YWCM; } set { _YWCM = value; } } private string _CGSM = ""; /// /// 船公司":"EMC" /// public string CGSM { get { return _CGSM; } set { _CGSM = value; } } private string _ZCMT = ""; /// /// 装船码头":"二期" /// public string ZCMT { get { return _ZCMT; } set { _ZCMT = value; } } private string _YXYQ = ""; /// /// 箱型/箱量":"20GP*4" /// public string YXYQ { get { return _YXYQ; } set { _YXYQ = value; } } private string _XHGM = ""; /// /// 卸货港":"XXPN5" /// public string XHGM { get { return _XHGM; } set { _XHGM = value; } } private string _ZWCM = ""; /// /// 船名(CH)":"立昌" /// public string ZWCM { get { return _ZWCM; } set { _ZWCM = value; } } private string _SHDZ = ""; /// /// 送货地址":"三期" /// public string SHDZ { get { return _SHDZ; } set { _SHDZ = value; } } } public class XhdtList_CR { /// /// 序号 /// public string RN { get; set; } /// ///箱号 /// public string XH { get; set; } /// /// 尺寸 /// public string CC { get; set; } /// /// 箱型 /// public string XX { get; set; } /// /// 铅封号 /// public string QFH1 { get; set; } /// /// 内外点 /// public string NWDBZ { get; set; } /// /// 提箱时间 /// public string TXSJ { get; set; } /// /// 返场时间 /// public string FCSJ { get; set; } /// /// 集港时间 /// public string JGSJ { get; set; } /// /// 箱皮重 /// public decimal XPZ { get; set; } /// /// 车号 /// public string KCPH { get; set; } /// /// 备注 /// public string BZBZ { get; set; } } public class ZhxxList_CR { /// /// 序号 /// public string RN { get; set; } /// /// 分提单号 /// public string TDH { get; set; } /// /// 箱号 /// public string XH { get; set; } /// /// 尺寸 /// public string CC { get; set; } /// /// 箱型 /// public string XX { get; set; } /// /// 铅封 /// public string QFH1 { get; set; } /// /// 实际件数 /// public int JS { get; set; } /// /// 实际重量 /// public decimal HZ { get; set; } /// /// 实际尺码 /// public decimal TJ { get; set; } } #endregion #region 青岛港--新霸达场站数据模型 20190425 public class OpSeaeXBDModel { /// /// Success /// public bool success { get; set; } /// /// Success /// public string code { get; set; } /// /// /// public respJgxx resp; } #endregion #region 青岛港--港联荣场站数据模型 20190425 /* {"tjxx":"20GP*1,","success":true,"zxdcwyy":{"xhz":[{"NWDBZMC":"外点","HD2MC":"宏巨","ZGXM":"张璇","JHTK":"CY","LDXBZ":"N","TJ":24,"MDGM":"TWKEL","HM":"HW","MDGYM":"KEELUNG","TSXBS":"N","CMDM":"W35","LASTMODIFIEDDATE":"2019-04-24 13:32:50","PXYQ":"WHL\\20GPXNX1","FX":"Y","JS":50,"HZ":20460,"CGSM":"WHL","HDMC":"宏巨","XHGYM":"KEELUNG","FXBZ":"Y","WPBZ":"N","CKHC":"S399","NWDBZ":"W","ZWCM":"民春","HD2":"HJU","HD":"HJU","DJRQ":"2019-04-15 17:20:38","ZDXHBZ":"N","SSDW":"0520","SSDWMC":"0520","CGMX":"W35S399","KXBZ":"N","TSXBSMC":"无","XSTDH":"QD2S399022","ZZR":"张璇/82986357 zhangx.qgil@qd-glr.com","YWCM":"WAN HAI 235","HGFXXBZ":"N","TDH":"QD2S399022","XHGM":"TWKEL","PXBZ":"N"}],"xcdzzfxs":[],"epls":[],"mts":[{"CCXX":"20GP","XH":"TRHU3254461","XSGSM":"WHL","SJRGSJ":"2019-04-25 15:16:28","DCT":1,"CKCMDM":"W35","LXLBMC":"出口箱","XPZ":2230,"QFH1":"M/WHLD044086","XHGYM":"KEELUNG","DQZTMC":"在QQCT堆场","FXBZ":"N","CKHC":"S399","CGLB":"装船","MZ":22690,"XX":"GP","CGMX":"W35S399","CKYWCM":"WAN HAI 235","GLDWMC":"QQCT","XZDM":"GLR","CC":"20","TDH":"QD2S399022","NWMMC":"外贸","RGLB":"闸口收箱","QXMX":"W35S399"}],"ydbg":[{"SBDHGDM":"4218","HZMS":"25201 海运运抵报告传输成功。比对结果为:运抵正常。","YWCM":"WAN HAI 235","IMPORT_TIME":"2019-04-25 15:00:23","CIMO":"UN9208186","TDH":"QD2S399022","XHDDDSJ":"2019-04-25 00:00:00","HCHBBH":"S399","MM":1,"XH":"TRHU3254461","HZSJ":"2019-04-25 15:56:01"}],"sjzhxx":[{"HZ":20460,"TJ":24,"CC":"20","XX":"GP","TDH":"QD2S399022","XH":"TRHU3254461","QFH1":"WHLD044086","XSTDH":"QD2S399022","JS":50}],"txcq":[{"CW":"A4023011","CGSM":"WHL","CC":"20","XX":"GP","XH":"TRHU3254461"}],"rhsl":[],"xhdt":[{"MZ":22690,"CC":"20","XX":"GP","TDH":"QD2S399022","XPZ":2230,"XH":"TRHU3254461","QFH1":"WHLD044086","BXKC":"鲁BW6183","FCSJ":"2019-04-20 19:55:28","BXSJ":"2019-04-20 11:22:37","FCKC":"LBW6183","NWDBZ":"W"}],"yzcs":[]}} */ public class OpSeaeGLRModel { /// /// Success /// public string success { get; set; } /// /// Success /// public string tjxx { get; set; } /// /// 列表信息 /// /// public Zxdcwyy zxdcwyy { get; set; } } public class Zxdcwyy { public List xhz { get; set; } public List sjzhxx { get; set; } public List xhdt { get; set; } public List mts { get; set; } } //下货纸 public class XhzList_GLR { private string _RN = ""; /// /// 序号 /// public string RN { get { return _RN; } set { _RN = value; } } private string _YWCM = ""; /// /// 船名 /// public string YWCM { get { return _YWCM; } set { _YWCM = value; } } private string _CKHC = ""; /// /// 航次 /// public string CKHC { get { return _CKHC; } set { _CKHC = value; } } private int _JS = 0; /// /// 件数 /// public int JS { get { return _JS; } set { _JS = value; } } private decimal _HZ = 0; /// /// 货重 /// public decimal HZ { get { return _HZ; } set { _HZ = value; } } private decimal _TJ = 0; /// /// 体积 /// public decimal TJ { get { return _TJ; } set { _TJ = value; } } private string _FXBZ = ""; /// /// 海关审结 /// public string FXBZ { get { return _FXBZ; } set { _FXBZ = value; } } private string _YZCS = ""; /// /// 处理审结 /// public string YZCS { get { return _YZCS; } set { _YZCS = value; } } private string _TGYYMC = ""; /// /// 退关 /// public string TGYYMC { get { return _TGYYMC; } set { _TGYYMC = value; } } private string _XSTDH = ""; /// /// 主提单 /// public string XSTDH { get { return _XSTDH; } set { _XSTDH = value; } } private string _PXYQ = ""; /// /// 用箱要求 /// public string PXYQ { get { return _PXYQ; } set { _PXYQ = value; } } private string _FX = ""; /// /// 放箱 /// public string FX { get { return _FX; } set { _FX = value; } } private string _CGMX = ""; /// /// 单船责任人电话 /// public string CGMX { get { return _CGMX; } set { _CGMX = value; } } private string _ZDXHBZ = ""; /// /// 指定箱号 /// public string ZDXHBZ { get { return _ZDXHBZ; } set { _ZDXHBZ = value; } } private string _DJRQ = ""; /// /// 登记时间 /// public string DJRQ { get { return _DJRQ; } set { _DJRQ = value; } } private string _WPBZ = ""; /// /// 危险品登记 /// public string WPBZ { get { return _WPBZ; } set { _WPBZ = value; } } private string _IMO = ""; /// /// 危险品登记 /// public string IMO { get { return _IMO; } set { _IMO = value; } } private string _GJWGH = ""; /// /// 国际危规号 /// public string GJWGH { get { return _GJWGH; } set { _GJWGH = value; } } private string _LDXBZ = ""; /// /// 冷冻标记 /// public string LDXBZ { get { return _LDXBZ; } set { _LDXBZ = value; } } private string _LDWD = ""; /// /// 冷冻温度 /// public string LDWD { get { return _LDWD; } set { _LDWD = value; } } private string _TFL = ""; /// /// 通风量 /// public string TFL { get { return _TFL; } set { _TFL = value; } } private string _SDYQ = ""; /// /// 湿度 /// public string SDYQ { get { return _SDYQ; } set { _SDYQ = value; } } private string _XHGYM = ""; /// /// 卸货港 /// public string XHGYM { get { return _XHGYM; } set { _XHGYM = value; } } private string _MDGYM = ""; /// /// 目的港 /// public string MDGYM { get { return _MDGYM; } set { _MDGYM = value; } } } //实际装货信息 public class SjzhxxList_GLR { /// /// 序号 /// public string RN { get; set; } /// /// 实际重量 /// public decimal HZ { get; set; } /// /// 实际尺码 /// public decimal TJ { get; set; } /// /// 尺寸 /// public string CC { get; set; } /// /// 箱型 /// public string XX { get; set; } /// /// 分单号 /// public string TDH { get; set; } /// /// 箱号 /// public string XH { get; set; } /// /// 铅封 /// public string QFH1 { get; set; } /// /// 箱属提单号 /// public string XSTDH { get; set; } /// /// 实际件数 /// public int JS { get; set; } /// /// 包装单位 /// public string BZLXM { get; set; } } //箱货动态 public class XhdtList_GLR { /// /// 序号 /// public string RN { get; set; } /// ///箱号 /// public string XH { get; set; } /// /// 尺寸 /// public string CC { get; set; } /// /// 箱型 /// public string XX { get; set; } /// /// 铅封号 /// public string QFH1 { get; set; } /// /// 内外点 /// public string NWDBZ { get; set; } /// /// 提箱时间 /// public string BXSJ { get; set; } /// /// 提箱车号 /// public string BXKC { get; set; } /// /// 返场时间 /// public string FCSJ { get; set; } /// /// 返场车号 /// public string FCKC { get; set; } /// /// 箱皮重 /// public decimal XPZ { get; set; } /// /// 车号 /// public string KCPH { get; set; } } //码头信息 public class MtsList_GLR { /// /// 序号 /// public string RN { get; set; } /// /// 船名 /// public string CKYWCM { get; set; } /// /// 航次 /// public string CKHC { get; set; } /// /// 箱号 /// public string XH { get; set; } /// /// 尺寸 /// public string CC { get; set; } /// /// 箱型 /// public string XX { get; set; } /// /// 箱主 /// public string XSGSM { get; set; } /// /// 铅封 /// public string QFH1 { get; set; } /// /// 箱皮重 /// public decimal XPZ { get; set; } /// /// 整箱重 /// public decimal MZ { get; set; } /// /// 码头放行 /// public string FXBZ { get; set; } /// /// 类别 /// public string LXLBMC { get; set; } /// /// 卸货港 /// public string XHGYM { get; set; } /// /// 当前位置 /// public string DQZTMC { get; set; } /// /// 入港类别 /// public string RGLB { get; set; } /// /// 入港时间 /// public string SJRGSJ { get; set; } /// /// 出港类别 /// public string CGLB { get; set; } /// /// 装船/提箱时间 /// public string SJCGSJ { get; set; } /// /// 堆存天 /// public int DCT { get; set; } } #endregion }