|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Net.NetworkInformation;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DS.Module.Core.Enums
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱管 箱上线状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum CM_IsOnlineEnum
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已上线
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("上线")]
|
|
|
|
|
上线 = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 确认
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("待上线")]
|
|
|
|
|
待上线 = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提交审核
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("下线")]
|
|
|
|
|
下线 = -1,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱管 箱来源
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum CM_CtnSourceEnum
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 自有箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("自有箱")]
|
|
|
|
|
自有箱 = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 短租租入
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("短租租入")]
|
|
|
|
|
短租租入 = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 长租租入
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("长租租入")]
|
|
|
|
|
长租租入 = 2,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱管 当前业务类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum CM_CtnBizStateEnum
|
|
|
|
|
{
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 自有箱
|
|
|
|
|
///// </summary>
|
|
|
|
|
//[Description("自有箱")]
|
|
|
|
|
//自有箱 = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租入
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("租入")]
|
|
|
|
|
租入 = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租入退租
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("租入退租")]
|
|
|
|
|
租入退租 = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租出
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("租出")]
|
|
|
|
|
租出 = 2,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租出退租
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("租出退租")]
|
|
|
|
|
租出退租 = 3,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单程租出业务
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("单程租出业务")]
|
|
|
|
|
单程租出业务 = 4,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 买箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("买箱")]
|
|
|
|
|
买箱 = 5,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卖箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("卖箱")]
|
|
|
|
|
卖箱 = 6,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报废
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("报废")]
|
|
|
|
|
报废 = 7,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单程业务
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("单程租出业务还箱")]
|
|
|
|
|
单程租出业务还箱 = 8,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单程租入业务
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("单程租入业务")]
|
|
|
|
|
单程租入业务 = 9,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单程租入业务还箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("单程租入业务还箱")]
|
|
|
|
|
单程租入业务还箱 = 10,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱管 业务审核状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum CMBillStatusEnum
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 录入状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("录入状态")]
|
|
|
|
|
录入状态 = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 确认
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("确认")]
|
|
|
|
|
确认 = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提交审核
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("提交审核")]
|
|
|
|
|
提交审核 = 2,
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱管 箱状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum CMCtnStateEnum
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 可用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("AV")]
|
|
|
|
|
AV = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已订
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("BK")]
|
|
|
|
|
BK = 2,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 在途
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("POS")]
|
|
|
|
|
POS = 3,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 损坏
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("DM")]
|
|
|
|
|
DM = -1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 维修中
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("REP")]
|
|
|
|
|
REP = 0,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱管 箱可用状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum CMCtnBreakStateEnum
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 可用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("可用")]
|
|
|
|
|
AV = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已订
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 损坏
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("损坏")]
|
|
|
|
|
DM = -1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 维修中
|
|
|
|
|
/// </summary>
|
|
|
|
|
//[Description("维修中")]
|
|
|
|
|
//REP = 0,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱管 箱运行状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum CMCtnFlowStateEnum
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重箱卸船到码头:DlF- Discharge Inbound Full container at TML
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("DIF")]
|
|
|
|
|
DIF = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货人提箱卸货:
|
|
|
|
|
/// DCF - C/NEE pick up container from TML and unloading cargo in their warehous or at TML directly
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("DCF")]
|
|
|
|
|
DCF = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货人还空箱:GlM - C/NEE empty return our container to our Local Depot
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("GLM")]
|
|
|
|
|
GLM = 2,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 坏箱维修计划确认:RPM - Container upload Estimate and confirm to repair at our Local Depot.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("RPM")]
|
|
|
|
|
RPM = 3,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 修箱完成进场:GlM - Container competed repair and available to pick up with sound status.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("GIM")]
|
|
|
|
|
GIM = 4,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货人提空箱:DSM - Container picked up by shipper for export by our good service.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("DSM")]
|
|
|
|
|
DSM = 5,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重箱返场:OBF - Container gate-in Terminal and ready for loading.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("OBF")]
|
|
|
|
|
OBF = 6,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重箱装船:LDF- Container loading on board successful.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("LDF")]
|
|
|
|
|
LDF = 7,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已提箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("已提箱")]
|
|
|
|
|
已提箱 = 100,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已还箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("已还箱")]
|
|
|
|
|
已还箱 = 101,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱变动来源枚举
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum CMChangeSourceEnum
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 手动批量变动
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("手动批量变动")]
|
|
|
|
|
手动批量变动 = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租箱租入
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("租箱租入")]
|
|
|
|
|
租箱租入 = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租箱租出
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("租箱租出")]
|
|
|
|
|
租箱租出 = 2,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 买箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("买箱")]
|
|
|
|
|
买箱 =3,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卖箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("卖箱")]
|
|
|
|
|
卖箱 = 4,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报废
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("报废箱")]
|
|
|
|
|
报废箱 = 5,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单程
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("单程")]
|
|
|
|
|
单程 = 6,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租箱退租
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum CMRentDirectEnum
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租入
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("租入")]
|
|
|
|
|
租入 = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 退租
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("租入退租")]
|
|
|
|
|
租入退租 = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租出
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("租出")]
|
|
|
|
|
租出 = 2,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租出退租
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("租出退租")]
|
|
|
|
|
租出退租 = 3,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租箱类型 长租短租
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum CMRentTypeEnum
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 长租
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("长租")]
|
|
|
|
|
长租 = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 短租
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("短租")]
|
|
|
|
|
短租 = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单程
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("单程")]
|
|
|
|
|
单程 = 2,
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|