package com.cf.imes.module.executor.util.fileConversion.admin.api.webcad;

/**
 * 原系统生产接口返回字段对应参数常量
 */
public class ProduceApiConstants {

    public static final String VALUE = "value";
    public static final String LIST = "List";
    public static final String DATA = "data";
    public static final String CODE = "err_code";
    public static final String ZERO = "0";
    public static final String ONE = "1";
    public static final String PAGE_COUNT = "PageCount";

    // 请求发送
    public static final String ORDER_NO_KEY = "order_no";
    public static final String CURR_PAGE_KEY = "curr_page";
    public static final String PAGE_COUNT_KEY  = "page_count"; //请求

    // ========== getApiOrderPartsMessage partsList 配件明细模块 ==========
    public static final String GD_GOODS_SN = "goods_sn"; // 用户自定义配件编号


    // ========== getApiOrderPartsMessage partsList 配件明细模块 ==========
    public static final String PD_ROOM_ID = "RoomID"; // 房间标识
    public static final String PD_BOX_ID = "BoxID"; // 柜体标识
    public static final String PD_NAME = "Name"; // 配件名称
    public static final String PD_BRAND = "Brand"; // 配件品牌
    public static final String PD_FACTORY = "Factory"; // 配件厂商
    public static final String PD_ITEM_NO = "ItemNo"; // 配件编号
    public static final String PD_DATA_ID = "DataID"; // 配件标识
    public static final String PD_GOODS_ID = "GoodsID"; // 商品对应标识
    public static final String PD_MODEL = "Model"; // 配件型号
    public static final String PD_NUM = "Num"; // 配件数量
    public static final String PD_SPEC = "Spec"; // 配件规格
    public static final String PD_UNITS = "Units"; // 配件单位
    public static final String PD_REMARK = "Remark"; // 配件备注
    public static final String PD_IS_COMPOSITE = "IsComposite"; // 是否组件
    public static final String PD_GROUP_NAME = "GroupName"; // 五金分类
    public static final String PD_OBJECT_TYPE = "ObjectType"; // 五金类型
    public static final String PD_SPEC_EXTRAS = "SpecExtras"; // 五金额外规格
    public static final String PD_PARTS_SPEC = "spec"; // 配件规格
    public static final String PD_PARTS_SPEC_OB = "PartsSpec"; // 配件属性
    public static final String PD_PARTS_SPEC_SPEC = "PartsSpec";  // 配件属性 -> 规格
    public static final String PD_PARTS_SPEC_MATERIAL = "material"; // 配件属性 -> 材质
    public static final String PD_PARTS_SPEC_COLOR = "color"; // 配件属性 -> 颜色
    public static final String PD_SPECIAL_REMARK = "SpecialRemark"; // 特殊备注(Json字符串)
    public static final String PD_PROCESS_GROUP = "ProcessGroup"; // 五金加工组
    public static final String PD_DOOR_REMARK = "DoorRemark"; // 门板组件铰链备注
    public static final String PD_HINGE_REMARK = "HingeRemark"; // 门板组件拉手备注
    public static final String PD_ROOM_NAME = "RoomName"; // 房间名称
    public static final String PD_BOX_NAME = "BoxName"; // 柜体名称
    public static final String PD_ITEM_ID = "ItemID"; // 配件ID
    public static final String PD_MODULE_TYPE_ID_LIST = "ModuleTypeIDList"; // 加工组类型ID
    public static final String PD_MODULE_ID_LIST = "ModuleIDList"; // 加工组ID
    public static final String PD_SIZE = "Size"; // 配件尺寸
    public static final String PD_LENGTH = "Length"; // 配件长
    public static final String PD_WIDTH = "Width"; // 配件宽
    public static final String PD_THICKNESS = "Thickness"; // 配件厚
    public static final String PD_PRICE = "Price";

    // ========== getApiOrderBodyMessage boxsList 柜体明细模块 ==========
    public static final String B_BOX_ID = "BoxID"; // 柜体标识
    public static final String B_ROOM_ID = "RoomID"; // 房间标识
    public static final String B_ROOM_NAME = "Room"; // 房间名
    public static final String B_NAME = "Name"; // 柜体名
    public static final String B_WIDTH = "Width"; // 宽
    public static final String B_HEIGHT = "Height"; // 高
    public static final String B_DEPTH = "Depth"; // 深

    // ========== getApiOrderGoodsMessage goodsList 商品数据信息模块 ==========
    public static final String G_BRAND = "Brand"; // 商品品牌
    public static final String G_COLOR = "Color"; // 商品颜色
    public static final String G_DOOR_ID = "GoodsID"; // 商品标识
    public static final String G_GOODS_SN = "GoodsSN"; // 商品编号
    public static final String G_GOODS_NAME = "GoodsName"; // 商品名称
    public static final String G_HEIGHT = "Height"; // 商品长度
    public static final String G_MATERIAL = "Material"; // 商品材料
    public static final String G_SPEC = "Spec"; // 商品规格
    public static final String G_THICKNESS = "Thickness"; // 商品厚度
    public static final String G_WIDTH = "Width"; // 商品宽度
    public static final String G_EXTRA_PROP = "ExtraProp"; // 额外属性
    public static final String G_HAS_WAVE = "HasWave"; // 有无纹路 1：有；0：无
    public static final String G_PRICE = "Price";

    // ========== getApiModuleTypeDataMessage getModuleTypeList 加工组关联板件、五金信息列表模块 ==========
    public static final String M_MODULE_TYPE_ID = "ModuleTypeID"; // 加工组类型ID
    public static final String M_MODULE_TYPE_NAME = "ModuleTypeName"; // 加工组名称
    public static final String M_MODULE_ID = "ModuleID"; // 加工组ID
    public static final String M_ROOM_ID = "RoomID"; // 房间ID
    public static final String M_ROOM_NAME = "RoomName"; // 房间名称
    public static final String M_BOX_ID = "BoxID"; // 柜体ID
    public static final String M_BOX_NAME = "BoxName"; // 柜体名称
    public static final String M_LENGTH = "Length"; // 加工组长
    public static final String M_WIDTH = "Width"; // 加工组宽
    public static final String M_THICKNESS = "Thickness"; // 加工组厚
    public static final String M_ITEM_ID_LIST = "ItemIDList"; // 加工组关联的板ID

    // ========== getApiBlocksDataMessage blocksList 板块明细模块 ==========
    public static final String BD_BLOCK_NO = "BlockNo"; // 板材编号
    public static final String BD_BOX_ID = "BoxID"; // 柜体标识
    public static final String BD_GOODS_ID = "GoodsID"; // 商品标识
    public static final String BD_OPEN_DOOR_TYPE = "OpenDoorType"; // 开门类型
    public static final String BD_EXTRA_REMARK = "ExtraRemark"; // 扩展备注
    public static final String BD_PROCESS_GROUP = "ProcessGroup"; // 加工组
    public static final String BD_GROUP_TYPE = "GroupType"; // 类型(柜体，加工组)
    public static final String BD_UN_REGULAR_POINT_COUNT = "UnRegularPointCount"; // 异形数
    public static final String BD_BACK_HOLE_COUNT = "BackHoleCount"; // 反面孔数
    public static final String BD_FRONT_MODEL_COUNT = "FrontModelCount"; // 正面造型数
    public static final String BD_BACK_MODEL_COUNT = "BackModelCount"; // 反面造型数
    public static final String BD_SIDE_HOLE_COUNT = "SideHoleCount"; // 侧面孔数
    public static final String BD_FRONT_HOLE_COUNT = "FrontHoleCount"; // 正面孔数
    public static final String BD_CUT_LENGTH = "CutLength"; // 开料长
    public static final String BD_CUT_WIDTH = "CutWidth"; // 开料宽
    public static final String BD_SPECIAL_REMARK = "SpecialRemark"; // 特殊备注(Json字符串)
    public static final String BD_EXTRA_HANDLE_REMARK = "ExtraHandleRemark"; // 拉手备注
    public static final String BD_DRILLS_REMARK = "DrillsRemark"; // 排钻备注(Json字符串)
    public static final String BD_INFO_REMARK = "InfoRemark"; //板其他备注(Json字符串)
    public static final String BD_BOARD_NAME = "BoardName"; // 板名称
    public static final String BD_SEALED_LEFT = "SealedLeft"; // 左封边
    public static final String BD_SEALED_RIGHT = "SealedRight"; // 右封边
    public static final String BD_SEALED_UP = "SealedUp"; // 上封边
    public static final String BD_SEALED_DOWN = "SealedDown"; // 下封边
    public static final String BD_IS_MODEL = "IsModel"; // 是否有造型
    public static final String BD_IS_UN_REGULAR = "UnRegular"; // 是否异形
    public static final String BD_IS_FRONT_HOLE = "FrontHole"; // 是否有正面孔
    public static final String BD_IS_BACK_HOLE = "BackHole"; // 是否有反面孔
    public static final String BD_IS_SIDE_HOLE = "SideHole"; // 是否有侧面孔
    public static final String BD_IS_FRONT_MODEL = "FrontModel"; // 是否有正面造型
    public static final String BD_IS_BACK_MODEL = "BackModel"; // 是否有反面造型
    public static final String BD_BOARD_TYPE = "BoardType"; // 板类型 层板，立板，背板
    public static final String BD_SPLIT_THICKNESS = "SpliteThickness"; // 拆单厚
    public static final String BD_SPLIT_WIDTH = "SpliteWidth"; // 拆单宽
    public static final String BD_SPLIT_HEIGHT = "SpliteHeight"; // 拆单长
    public static final String BD_CUSTOMIZE_BLOCK_NO = "CustBlockNo"; // 自定义板号
    public static final String BD_REMARK_JSON = "RemarkJson"; // 板件备注(Json字符串)
    public static final String BD_IS_COPY = "IsCopy"; // 是否成倍拆单(false为原柜，true为成倍复制的柜子)
    public static final String BD_MUL_NUM = "MultNum"; // 成倍拆单数量
    public static final String BD_GROUP_NO = "GroupNo"; // 按柜(房名)名分组的柜体序号
    public static final String BD_BOX_NO = "BoxNo"; // 成倍拆单柜体序号
    public static final String BD_BOX_MUL_NUM = "BoxMultNum"; // 成倍拆单数量(总数、原柜和复制柜一致)
    public static final String BD_ROOM_NAME = "RoomName"; // 房间名
    public static final String BD_BOX_NAME = "BoxName"; // 柜体名
    public static final String BD_ITEM_ID = "ItemID"; // 板ID
    public static final String BD_MODULE_TYPE_ID_LIST = "ModuleTypeIDList"; // 加工组类型ID
    public static final String BD_MODULE_ID_LIST = "ModuleIDList"; // 	加工组ID

    // ========== getApiBlocksMessage getBlocks 板件数据（概括）模块 ==========
    public static final String BG_ORDER_NO = "OrderNo"; // 订单号
    public static final String BG_ROOM_NAME = "RoomName"; // 房间名
    public static final String BG_BOX_NAME = "BoxName"; // 柜体名
    public static final String BG_BOX_ID = "BoxID"; // 柜体标识
    public static final String BG_BLOCK_NO = "BlockNo"; // 板编号
    public static final String BG_BOARD_NAME = "BoardName"; // 板名称
    public static final String BG_GOODS_ID = "GoodsID"; // 商品标识
    public static final String BG_MATERIAL = "Material"; // 材料名称
    public static final String BG_COLOR = "Color"; // 颜色
    public static final String BG_BRAND = "Brand"; // 品牌
    public static final String BG_HEIGHT = "Height"; // 长
    public static final String BG_WIDTH = "Width"; // 宽
    public static final String BG_THICKNESS = "Thickness"; // 厚
    public static final String BG_AREA = "Area"; // 面积
    public static final String BG_WAVE = "Wave"; // 纹路(正纹 = 0, 可翻转 = 1, 反纹 = 2 )
    public static final String BG_SEAL = "Seal"; // 封边信息(格式:左封边,右封边,上封边,下封边) 信息不可以用，信息不全
    public static final String BG_IS_UN_REGULAR = "IsUnRegular"; // 是否异形
    public static final String BG_IS_MODEL = "IsModel"; // 是否造型
    public static final String BG_IS_HOLE = "IsHole"; // 是否有孔
    public static final String BG_REMARK_JSON = "RemarkJson"; // 备注(Json格式)
    public static final String BG_SPECIAL_REMARK = "SpecialRemark"; // 特殊备注(Json字符串)

    // ========== getApiOrderList orderList 订单列表模块 ==========
    public static final String OL_ORDER_NO = "order_no"; // 订单编号
    public static final String OL_CUSTOM_ORDER_NO = "custom_order_no"; // 自定义单号
    public static final String OL_STORE_NAME = "store_name"; // 门店名称
    public static final String OL_STORE_PHONE = "store_phone"; // 门店电话
    public static final String OL_CUSTOMER_NAME = "cosignee_name"; // 客户名称
    public static final String OL_CUSTOMER_PHONE = "cosignee_phone"; // 客户电话
    public static final String OL_CUSTOMER_ADDRESS = "cosignee_address"; // 客户地址
    public static final String OL_START_DATE = "start_date"; // 订单开始时间
    public static final String OL_END_DATE = "end_date"; // 订单结束时间
    public static final String OL_ORDER_STATUS = "submit_state"; // 平台状态
    public static final String OL_COMMENTS = "comments"; // 备注
    public static final String OL_NICK_NAME = "nick_name"; // 业务员昵称
    public static final String OL_CD_NICK_NAME = "cd_nick_name"; // 拆单员昵称

    // ========== getApiOrderMessage orderPlanData 生产数据模块 ==========
    public static final String OPD_ORDER = "Orders";
    public static final String BPD_ORDER_NO = "OrderNo"; // 订单号
    public static final String BPD_CUSTOM_ORDER_NO = "CustomOrderNo"; // 自定义单号

    public static final String BPD_MATERIALS = "Materials";
    public static final String BPD_MATERIALS_NAME = "Name"; // 材质名称
    public static final String BPD_MATERIALS_GOODS_ID = "GoodsID";
    public static final String BPD_MATERIALS_COLOR = "Color";
    public static final String BPD_MATERIALS_SPECIFICATION = "Specification"; // 板材规格——长宽
    public static final String BPD_MATERIALS_ONE = "Material";
    public static final String BPD_MATERIALS_THICKNESS = "Thickness"; // 板材厚度
    public static final String BPD_MATERIALS_WIDTH = "Width";
    public static final String BPD_MATERIALS_LENGTH = "Length";
    public static final String BPD_MATERIALS_WAVE = "WaveFlag"; // 有无纹路

    public static final String BPD_BLOCKS = "Blocks"; // 板编号
    public static final String BPD_BLOCK_NO = "BlockNo"; // 板编号
    public static final String BPD_ROOM_NAME = "RoomName"; // 房间名
    public static final String BPD_BOX_NO = "BoxNo"; // 柜体号
    public static final String BPD_BOX_NAME = "BoxName"; // 柜体名
    public static final String BPD_BLOCK_ID = "BlockID"; // 板ID
    public static final String BPD_CUSTOM_BLOCK_NO = "CustomNo"; // (自定义)板号
    public static final String BPD_BLOCK_NAME = "BlockName"; // 板名称
    public static final String BPD_OPEN_DOOR_TYPE = "OpenDoorType"; // 开门类型 0=非门板 1=左开门板 2=右开门板 3=上开门板 4=下开门板

    public static final String BPD_EXTRA_REMARK = "ExtraRemark"; // 额外补充
    public static final String BPD_DRILLS = "drills";
    public static final String BPD_DRILL_NAME = "name";
    public static final String BPD_DRILL_TYPE = "type";
    public static final String BPD_DRILL_FACE = "face";
    public static final String BPD_DRILL_COUNT = "count";
    public static final String BPD_EXTRA = "extra";
    public static final String BPD_EXTRA_BOARD_TYPE = "boardType"; // 板类型
    public static final String BPD_EXTRA_THROUGH_HOLE_COUNT = "throughHoleCount"; // 挖穿的孔数
    public static final String BPD_EXTRA_THROUGH_MODEL_COUNT = "throughModelCount"; // 挖穿的造型数
    public static final String BPD_EXTRA_HAS_2D_MODEL = "has2DModel"; // 是否有二维刀路
    public static final String BPD_EXTRA_HAS_3D_MODEL = "has3DModel"; //

    public static final String BPD_PROCESS_GROUP_NAME = "ProcessGroupName"; // 加工组(名称)
    public static final String BPD_WIDTH = "Width"; // 成品宽
    public static final String BPD_LENGTH = "Length"; // 成品长
    public static final String BPD_SIZE = "Size"; // 成品面积
    public static final String BPD_CUTTING_WIDTH = "CuttingWidth"; // 开料宽
    public static final String BPD_CUTTING_LENGTH = "CuttingLength"; // 开料长
    public static final String BPD_CUTTING_SIZE = "CuttingSize"; // 开料面积
    public static final String BPD_BORDER_LEFT = "BorderLeft"; // 左封边 用于矩形，异形板对接封边分在原始轮廓里定义
    public static final String BPD_BORDER_RIGHT = "BorderRight"; // 右封边
    public static final String BPD_BORDER_UPPER = "BorderUpper"; // 上封边
    public static final String BPD_BORDER_UNDER = "BorderUnder"; // 下封边
    public static final String BPD_WAVE = "Wave"; // 纹路  正纹 = 0，可翻转 = 1, 反纹 = 2
    public static final String BPD_PLACE_FACE = "PlaceFace"; // 排版面  正面 = 0, 反面 = 1, 随意面 = 2
    public static final String BPD_IS_UN_REGULAR = "IsUnRegular"; // 是否异形
    public static final String BPD_OFFSET_X = "OffsetX"; // 开料轮廓，成品轮廓 偏移量X
    public static final String BPD_OFFSET_Y = "OffsetY"; // 开料轮廓，成品轮廓 偏移量y
    public static final String BPD_IS_HXDJ = "IsHXDJX";// 是否孤形地脚

    public static final String BPD_POINTS = "Points"; // 异形板的开料轮廓 (不含封边)
    public static final String BPD_ORG_POINTS = "OrgPoints"; // 异形板的成品轮廓 （含封边）
    public static final String BPD_POINTS_X = "X";
    public static final String BPD_POINTS_Y = "Y";
    public static final String BPD_POINTS_CURVE = "Curve";
    public static final String BPD_POINTS_EDGE = "Edge";

    public static final String BPD_HOLES = "Holes"; // 孔
    public static final String BPD_SIDE_HOLES = "SideHoles"; // 侧孔  （基于成品轮廓 含封边）
    public static final String BPD_HOLE_ID = "ID";
    public static final String BPD_HOLE_TYPE = "Type";
    public static final String BPD_HOLE_X = "X";
    public static final String BPD_HOLE_Y = "Y";
    public static final String BPD_HOLE_DEPTH = "Depth";
    public static final String BPD_HOLE_DIAMETER = "Diameter";
    public static final String BPD_HOLE_FACE = "Face";
    public static final String BPD_HOLE_DIRECTION = "Direction";
    public static final String BPD_HOLE_END_POINT = "EndPoint";
    public static final String BPD_HOLE_START_POINT = "StartPoint";

    public static final String BPD_MODEL = "Models"; // 造型
    public static final String BPD_SIDE_MODEL = "SideModels"; // 侧面造型造型
    public static final String BPD_MODEL_DEPTH = "Depth";
    public static final String BPD_MODEL_DIAMETER = "Diameter";
    public static final String BPD_MODEL_FACE = "Face";
    public static final String BPD_MODEL_TOOL_NO = "ToolNo";
    public static final String BPD_MODEL_ID = "ModelID"; // 造型id
    public static final String BPD_MODEL_LINE_ID = "LineID"; // 刀路id

    public static final String BPD_MODEL_ORIGIN_MODELING = "OriginModeling"; // 造型 原始轮廓
    public static final String BPD_MODEL_ORIGIN_MODELING_ADD_DEPTH = "AddDepth";
    public static final String BPD_MODEL_ORIGIN_MODELING_ADD_LEN = "AddLen";
    public static final String BPD_MODEL_ORIGIN_MODELING_ADD_WIDTH = "AddWidth";
    public static final String BPD_MODEL_ORIGIN_MODELING_DIR = "Dir";
    public static final String BPD_MODEL_ORIGIN_MODELING_KNIFE_RADIUS = "KnifeRadius";
    public static final String BPD_MODEL_ORIGIN_MODELING_THICKNESS = "Thickness";

    public static final String BPD_MODEL_ORIGIN_MODELING_OUTLINE = "Outline"; // 造型 原始轮廓 outline
    public static final String BPD_MODEL_ORIGIN_MODELING_OUTLINE_CURVE = "Curve";
    public static final String BPD_MODEL_ORIGIN_MODELING_OUTLINE_POS = "Pos";

    public static final String BPD_MODEL_ORIGIN_MODELING_HOLES = "Holes"; // 造型 原始轮廓 holes
    public static final String BPD_MODEL_ORIGIN_MODELING_HOLES_CURVE = "Curve";
    public static final String BPD_MODEL_ORIGIN_MODELING_HOLES_POS = "Pos";

    public static final String BPD_MODEL_POINTS = "Points"; // 造型 刀路点阵
    public static final String BPD_MODEL_POINTS_CURVE = "Curve";
    public static final String BPD_MODEL_POINTS_POS = "Pos";

    public static final String BPD_MODEL_OFFSET_LIST = "OffsetList"; // 造型 偏移刀路
    public static final String BPD_MODEL_OFFSET_LIST_ANGLE = "Angle";
    public static final String BPD_MODEL_OFFSET_LIST_DEPTH = "Depth";
    public static final String BPD_MODEL_OFFSET_LIST_DIRECTION = "Diameter";
    public static final String BPD_MODEL_OFFSET_LIST_NAME = "Name";
    public static final String BPD_MODEL_OFFSET_LIST_VALUE = "Value";

}
