You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
278 lines
5.8 KiB
C#
278 lines
5.8 KiB
C#
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_CtnBizStateEnum
|
|
{
|
|
/// <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>
|
|
public enum CMBillStatusEnum
|
|
{
|
|
/// <summary>
|
|
/// 录入状态
|
|
/// </summary>
|
|
[Description("录入状态")]
|
|
录入状态 = 1,
|
|
/// <summary>
|
|
/// 确认
|
|
/// </summary>
|
|
[Description("确认")]
|
|
确认 = 0,
|
|
/// <summary>
|
|
/// 提交审核
|
|
/// </summary>
|
|
[Description("提交审核")]
|
|
提交审核 = 2,
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 箱管 箱状态
|
|
/// </summary>
|
|
public enum CMCtnStateEnum
|
|
{
|
|
/// <summary>
|
|
/// 可用
|
|
/// </summary>
|
|
[Description("可用")]
|
|
AV = 1,
|
|
/// <summary>
|
|
/// 已订
|
|
/// </summary>
|
|
[Description("已订")]
|
|
BK = 2,
|
|
/// <summary>
|
|
/// 在途
|
|
/// </summary>
|
|
[Description("在途")]
|
|
POS = 3,
|
|
/// <summary>
|
|
/// 损坏
|
|
/// </summary>
|
|
[Description("损坏")]
|
|
DM = -1,
|
|
/// <summary>
|
|
/// 维修中
|
|
/// </summary>
|
|
[Description("维修中")]
|
|
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 CMIsHeavyEnum
|
|
{
|
|
/// <summary>
|
|
/// 重箱
|
|
/// </summary>
|
|
[Description("重箱")]
|
|
重箱 = 1,
|
|
|
|
/// <summary>
|
|
/// 空箱
|
|
/// </summary>
|
|
[Description("空箱")]
|
|
REP = 0,
|
|
}
|
|
|
|
/// <summary>
|
|
/// 箱管 箱可用状态
|
|
/// </summary>
|
|
public enum CMUsedStateEnum
|
|
{
|
|
/// <summary>
|
|
/// 旧箱
|
|
/// </summary>
|
|
[Description("旧箱")]
|
|
旧箱 = 1,
|
|
|
|
/// <summary>
|
|
/// 新箱
|
|
/// </summary>
|
|
[Description("新箱")]
|
|
REP = 0,
|
|
}
|
|
|
|
/// <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>
|
|
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,
|
|
|
|
}
|
|
}
|