<template>
  <lt-mxgraph
    ref="refgraph"
    :ifCanBeEdite="ifCanBeEdite"
    :receipStyle="receipStyle"
    :data="data"
    :SFCcolor="SFCcolor"
    :showSimpleBtn="showSimpleBtn"
    :funOption="funOption"
    :QCfunOption="QCfunOption"
    :QCItemCols="QCItemCols"
    :MCIValiantOption="MCIValiantOption"
    :matFilter="matFilter"
    :matCol="matCol"
    :MaterialCateOption="MaterialCateOption"
    :showEnable="true"
    :planDevice="deviceOption"
    :ifUpdate="false"
    :QCItemOptions="QCItemOptions"
    :QCVariable="QCVariable"
    :isHaveMaterial="true"
    :isMustSelectMaterialName="false"
    moduleType="EditOrder"
    :ifHaveQCDetails="true"
    @cellDbClick="handleCellDbClick"
    @cellClick="handleCellClick"
  ></lt-mxgraph>
</template>
<script>
// import Api from "../api/api.js";
export default {
  props: {
    data: {
      //配方结构
      type: String,
      default: "",
    },
    SFCcolor: {
      type: Object,
      default() {},
    },
    showSimpleBtn: {
      type: Boolean,
      default: false,
    },
    ifCanBeEdite: {
      type: Boolean,
      default: true,
    },
  },
  data() {
    return {
      receipStyle: [
        {
          ParamId: 34,
          ParamName: "搅拌釜",
          ParamValue: 2,
          Remark: null,
          AidParamList: ["#C8F2C7"],
          AidParamValue: 0,
        },
        {
          ParamId: 35,
          ParamName: "计量罐1",
          ParamValue: 3,
          Remark: null,
          AidParamList: ["#B0C0DD"],
          AidParamValue: 0,
        },
        {
          ParamId: 38,
          ParamName: "计量罐2",
          ParamValue: 4,
          Remark: null,
          AidParamList: ["#F7D800"],
          AidParamValue: 0,
        },
      ],
      funOption: [
        {
          FuncId: 4,
          FuncStyle: 0,
          FunctionCode: "Semi-OIL",
          FunctionName: "Semi-OIL -- 预调油加料_4",
          FunctionName2: "预调油加料_4",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: true,
          IsRequired: false,
          HaveMaterialCode: true,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: true,
          SupportFactory: [],
        },
        {
          FuncId: 240,
          FuncStyle: 0,
          FunctionCode: "Manual-TL",
          FunctionName: "Manual-TL -- 人工小料_5",
          FunctionName2: "人工小料_5",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: true,
          IsRequired: false,
          HaveMaterialCode: true,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: true,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: true,
          SupportFactory: [],
        },
        {
          FuncId: 7,
          FuncStyle: 0,
          FunctionCode: "Crude-OIL",
          FunctionName: "Crude-OIL -- 原油罐往灭菌罐进料_7",
          FunctionName2: "原油罐往灭菌罐进料_7",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: true,
          IsRequired: false,
          HaveMaterialCode: true,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: true,
          SupportFactory: [],
        },
        {
          FuncId: 8,
          FuncStyle: 0,
          FunctionCode: "Prepare-TL",
          FunctionName: "Prepare-TL -- RMS系统备料投料_8",
          FunctionName2: "RMS备料投料_8",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: true,
          IsRequired: false,
          HaveMaterialCode: true,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: true,
          SupportFactory: [],
        },
        {
          FuncId: 9,
          FuncStyle: 0,
          FunctionCode: "CMX-OIL",
          FunctionName: "CMX-OIL -- CMX原油加料_9",
          FunctionName2: "CMX原油加料_9",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: true,
          IsRequired: false,
          HaveMaterialCode: true,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: true,
          SupportFactory: [],
        },
        {
          FuncId: 10,
          FuncStyle: 0,
          FunctionCode: "WJX-OIL",
          FunctionName: "WJX-OIL -- WJX原油加料_10",
          FunctionName2: "WJX原油加料_10",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: true,
          IsRequired: false,
          HaveMaterialCode: true,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: true,
          SupportFactory: [],
        },
        {
          FuncId: 13,
          FuncStyle: 0,
          FunctionCode: "Air-PF",
          FunctionName: "Air-PF -- 压缩空气搅拌_13",
          FunctionName2: "压缩空气搅拌_13",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 53,
          FuncStyle: 0,
          FunctionCode: "PFS",
          FunctionName: "PFS -- 启动搅拌_53",
          FunctionName2: "搅拌电机启动_53",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 54,
          FuncStyle: 0,
          FunctionCode: "PFG",
          FunctionName: "PFG -- 停止搅拌_54",
          FunctionName2: "搅拌电机停止_54",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 55,
          FuncStyle: 0,
          FunctionCode: "START",
          FunctionName: "START -- 停止控温_55",
          FunctionName2: "停止控温_55",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 56,
          FuncStyle: 0,
          FunctionCode: "STOPT",
          FunctionName: "STOPT -- 启动控温_56",
          FunctionName2: "启动控温_56",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 57,
          FuncStyle: 0,
          FunctionCode: "ExE",
          FunctionName: "ExE -- 排料_57",
          FunctionName2: "排料_57",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 58,
          FuncStyle: 0,
          FunctionCode: "Tip",
          FunctionName: "Tip -- 操作员提示_58",
          FunctionName2: "操作员提示_58",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 311,
          FuncStyle: 0,
          FunctionCode: "Oth",
          FunctionName: "Oth -- 人工录入过程值_59",
          FunctionName2: "人工录入过程值_59",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: true,
          IsRequired: false,
          HaveMaterialCode: true,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: true,
          SupportFactory: [],
        },
        {
          FuncId: 60,
          FuncStyle: 0,
          FunctionCode: "KEEPT",
          FunctionName: "KEEPT -- 计时_60",
          FunctionName2: "计时_60",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 62,
          FuncStyle: 0,
          FunctionCode: "UV-Water-Clean",
          FunctionName: "UV-Water-Clean -- UV水洗_62",
          FunctionName2: "UV水洗_62",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 63,
          FuncStyle: 0,
          FunctionCode: "Disinfectant-Clean",
          FunctionName: "Disinfectant-Clean -- 消毒剂洗_63",
          FunctionName2: "消毒剂洗_63",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 64,
          FuncStyle: 0,
          FunctionCode: "AcIid-Clean",
          FunctionName: "AcIid-Clean -- 酸洗_64",
          FunctionName2: "酸洗_64",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 65,
          FuncStyle: 0,
          FunctionCode: "Soda-Clean",
          FunctionName: "Soda-Clean -- 碱洗_65",
          FunctionName2: "碱洗_65",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 66,
          FuncStyle: 0,
          FunctionCode: "Re-Water-Clean",
          FunctionName: "Re-Water-Clean -- 回收水洗_66",
          FunctionName2: "回收水洗_66",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 71,
          FuncStyle: 22,
          FunctionCode: "ONDET",
          FunctionName: "ONDET -- 在线密度检测",
          FunctionName2: "在线密度检测",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 72,
          FuncStyle: 23,
          FunctionCode: "MCI",
          FunctionName: "MCI -- 人工检测指标",
          FunctionName2: "人工检测指标",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 243,
          FuncStyle: 19,
          FunctionCode: "BROKEN",
          FunctionName: "BROKEN -- 终止操作",
          FunctionName2: "终止操作",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: false,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 244,
          FuncStyle: 21,
          FunctionCode: "RESET",
          FunctionName: "RESET -- 恢复操作",
          FunctionName2: "恢复操作",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: false,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 245,
          FuncStyle: 20,
          FunctionCode: "PAUSE",
          FunctionName: "PAUSE -- 暂停操作",
          FunctionName2: "暂停操作",
          IsManual: false,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: false,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 246,
          FuncStyle: 17,
          FunctionCode: "NULL",
          FunctionName: "NULL -- 空",
          FunctionName2: "空",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 248,
          FuncStyle: 5,
          FunctionCode: "SUB",
          FunctionName: "SUB -- 子过程",
          FunctionName2: "子过程",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: false,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 249,
          FuncStyle: 6,
          FunctionCode: "RET",
          FunctionName: "RET -- 子过程返回",
          FunctionName2: "子过程返回",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: false,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 250,
          FuncStyle: 1,
          FunctionCode: "AND",
          FunctionName: "AND -- 逻辑并",
          FunctionName2: "逻辑并",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: false,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 251,
          FuncStyle: 2,
          FunctionCode: "OR",
          FunctionName: "OR -- 逻辑或",
          FunctionName2: "逻辑或",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: false,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 252,
          FuncStyle: 3,
          FunctionCode: "IF",
          FunctionName: "IF -- 条件",
          FunctionName2: "条件",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: false,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 253,
          FuncStyle: 4,
          FunctionCode: "SCRIPT",
          FunctionName: "SCRIPT -- 自定义脚本",
          FunctionName2: "自定义脚本",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: false,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 254,
          FuncStyle: 15,
          FunctionCode: "CIF",
          FunctionName: "CIF -- 复杂条件",
          FunctionName2: "复杂条件",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: false,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 255,
          FuncStyle: 7,
          FunctionCode: "E",
          FunctionName: "E -- 生产结束",
          FunctionName2: "生产结束",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: true,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: false,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: -1,
          FuncStyle: null,
          FunctionCode: null,
          FunctionName: "物料计量",
          FunctionName2: null,
          IsManual: null,
          IsAidFunc: null,
          IsNegative: null,
          IsPreperaFunc: null,
          IsValid: null,
          IsMaterial: true,
          IsRequired: null,
          HaveMaterialCode: null,
          HaveSrcDeviceCode: null,
          IsAutoPipe: null,
          IsSupportCode: null,
          IsDefault: null,
          IsRemoteDisplay: null,
          IsQc: null,
          IsOnlyDisplayMaterial: null,
          SupportFactory: [],
        },
      ],
      MCIValiantOption: [
        {
          PropertyId: "B201705130001",
          Description: null,
          QCStyle: 0,
          QCClass: 0,
          QCPointer: null,
          QCVenue: 0,
          CompanyId: null,
          Status: null,
        },
        {
          PropertyId: "B201712020001",
          Description: "细度",
          QCStyle: 1,
          QCClass: 0,
          QCPointer: null,
          QCVenue: 0,
          CompanyId: null,
          Status: null,
        },
        {
          PropertyId: "B201808160001",
          Description: "粘度",
          QCStyle: 1,
          QCClass: 0,
          QCPointer: null,
          QCVenue: 0,
          CompanyId: null,
          Status: null,
        },
        {
          PropertyId: "B201808170001",
          Description: "指触干",
          QCStyle: 0,
          QCClass: 0,
          QCPointer: null,
          QCVenue: 0,
          CompanyId: null,
          Status: null,
        },
        {
          PropertyId: "B201808170002",
          Description: "施工粘度",
          QCStyle: 0,
          QCClass: 0,
          QCPointer: null,
          QCVenue: 0,
          CompanyId: null,
          Status: null,
        },
        {
          PropertyId: "B201808170003",
          Description: "表观粘度",
          QCStyle: 0,
          QCClass: 0,
          QCPointer: null,
          QCVenue: 0,
          CompanyId: null,
          Status: null,
        },
        {
          PropertyId: "B201808170004",
          Description: "指压干",
          QCStyle: 0,
          QCClass: 0,
          QCPointer: null,
          QCVenue: 0,
          CompanyId: null,
          Status: null,
        },
        {
          PropertyId: "B201810230001",
          Description: "光泽",
          QCStyle: 0,
          QCClass: 0,
          QCPointer: null,
          QCVenue: 0,
          CompanyId: null,
          Status: null,
        },
        {
          PropertyId: "B201904080002",
          Description: "SendohTest",
          QCStyle: 0,
          QCClass: 0,
          QCPointer: "d",
          QCVenue: 1,
          CompanyId: "seneoh",
          Status: 2,
        },
        {
          PropertyId: "B201904080004",
          Description: "stradfadfing",
          QCStyle: 0,
          QCClass: 0,
          QCPointer: "string",
          QCVenue: 0,
          CompanyId: "string",
          Status: 0,
        },
        {
          PropertyId: "B201904080005",
          Description: "测试一下修改",
          QCStyle: 0,
          QCClass: 0,
          QCPointer: "string",
          QCVenue: 0,
          CompanyId: "string",
          Status: 0,
        },
      ], //变量ID
      QCfunOption: [
        {
          FuncId: 306,
          FuncStyle: 9,
          FunctionCode: "QX",
          FunctionName: "过程检验",
          FunctionName2: "过程检验",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: true,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
        {
          FuncId: 306,
          FuncStyle: 9,
          FunctionCode: "QC",
          FunctionName: "成品检验",
          FunctionName2: "成品检验",
          IsManual: false,
          IsAidFunc: false,
          IsNegative: false,
          IsPreperaFunc: false,
          IsValid: true,
          IsMaterial: false,
          IsRequired: false,
          HaveMaterialCode: false,
          HaveSrcDeviceCode: false,
          IsAutoPipe: false,
          IsSupportCode: false,
          IsDefault: false,
          IsRemoteDisplay: true,
          IsQc: true,
          IsOnlyDisplayMaterial: false,
          SupportFactory: [],
        },
      ], //QC工艺
      QCItemCols: [
        {
          Field: "ItemId",
          Name: "ID",
          Width: 60,
          Fix: false,
          Visible: false,
          Style: "TextBox",
        },
        {
          Field: "QCName",
          Name: "质检名称",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "TextBox",
        },
        {
          Field: "QCStyle",
          Name: "质检类型",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "ComBox",
        },
        {
          Field: "Standard",
          Name: "指标",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "TextBox",
        },
        {
          Field: "UpperLimit",
          Name: "指标上限",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "TextBox",
        },
        {
          Field: "LowerLimit",
          Name: "指标下限",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "TextBox",
        },
        {
          Field: "QCSelected",
          Name: "QC关联变量",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "ComBox",
        },
        {
          Field: "Unit",
          Name: "单位",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "TextBox",
        },
        {
          Field: "Remark",
          Name: "备注信息",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "TextBox",
        },
        // {
        //   Field: "Field01",
        //   Name: "备注信息1",
        //   Width: 100,
        //   Fix: false,
        //   Visible: false,
        //   Style: "TextBox",
        // },
        // {
        //   Field: "Field02",
        //   Name: "备注信息2",
        //   Width: 100,
        //   Fix: false,
        //   Visible: false,
        //   Style: "TextBox",
        // },
        // {
        //   Field: "Field03",
        //   Name: "备注信息3",
        //   Width: 100,
        //   Fix: false,
        //   Visible: false,
        //   Style: "TextBox",
        // },
        // {
        //   Field: "Field04",
        //   Name: "备注信息4",
        //   Width: 100,
        //   Fix: false,
        //   Visible: false,
        //   Style: "TextBox",
        // },
        // {
        //   Field: "Field05",
        //   Name: "备注信息5",
        //   Width: 100,
        //   Fix: false,
        //   Visible: false,
        //   Style: "TextBox",
        // },
      ], //QC列参数配置
      matCol: [
        {
          Field: "MatCategory",
          Name: "物料分类",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "ComBox",
        },
        {
          Field: "MaterialCode",
          Name: "原料物料号",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "TextBox",
        },
        {
          Field: "MaterialTechCode",
          Name: "物料技术代码",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "TextBox",
        },
        {
          Field: "MaterialName",
          Name: "物料显示名称",
          Width: 100,
          Fix: false,
          Visible: true,
          Style: "TextBox",
        },
      ],
      matFilter: ["MatCategory", "MaterialCode", "MaterialTechCode"],
      MaterialCateOption: [
        {
          MatCategory: {
            CategoryId: "1",
            ParentId: "0",
            MaterialType: 2,
            Description: "成品",
            CategoryLevel: "1.",
            IsValid: true,
            Field01: null,
            Field02: null,
            Field03: null,
            Field04: null,
            Field05: null,
          },
          Child: [
            {
              MatCategory: {
                CategoryId: "9",
                ParentId: "1",
                MaterialType: 2,
                Description: "A",
                CategoryLevel: "1.9.",
                IsValid: true,
                Field01: null,
                Field02: null,
                Field03: null,
                Field04: null,
                Field05: null,
              },
              Child: [
                {
                  MatCategory: {
                    CategoryId: "2",
                    ParentId: "9",
                    MaterialType: 2,
                    Description: "911A",
                    CategoryLevel: "1.9.2.",
                    IsValid: true,
                    Field01: null,
                    Field02: null,
                    Field03: null,
                    Field04: null,
                    Field05: null,
                  },
                  Child: [],
                },
                {
                  MatCategory: {
                    CategoryId: "7",
                    ParentId: "9",
                    MaterialType: 2,
                    Description: "929A",
                    CategoryLevel: "1.9.7.",
                    IsValid: true,
                    Field01: null,
                    Field02: null,
                    Field03: null,
                    Field04: null,
                    Field05: null,
                  },
                  Child: [],
                },
              ],
            },
            {
              MatCategory: {
                CategoryId: "10",
                ParentId: "1",
                MaterialType: 2,
                Description: "B",
                CategoryLevel: "1.10.",
                IsValid: true,
                Field01: null,
                Field02: null,
                Field03: null,
                Field04: null,
                Field05: null,
              },
              Child: [
                {
                  MatCategory: {
                    CategoryId: "3",
                    ParentId: "10",
                    MaterialType: 2,
                    Description: "911B",
                    CategoryLevel: "1.10.3.",
                    IsValid: true,
                    Field01: null,
                    Field02: null,
                    Field03: null,
                    Field04: null,
                    Field05: null,
                  },
                  Child: [],
                },
                {
                  MatCategory: {
                    CategoryId: "8",
                    ParentId: "10",
                    MaterialType: 2,
                    Description: "939B",
                    CategoryLevel: "1.10.8.",
                    IsValid: true,
                    Field01: null,
                    Field02: null,
                    Field03: null,
                    Field04: null,
                    Field05: null,
                  },
                  Child: [],
                },
              ],
            },
            {
              MatCategory: {
                CategoryId: "11",
                ParentId: "1",
                MaterialType: 2,
                Description: "929",
                CategoryLevel: "1.11.",
                IsValid: true,
                Field01: null,
                Field02: null,
                Field03: null,
                Field04: null,
                Field05: null,
              },
              Child: [
                {
                  MatCategory: {
                    CategoryId: "4",
                    ParentId: "11",
                    MaterialType: 2,
                    Description: "929-绿",
                    CategoryLevel: "1.11.4.",
                    IsValid: true,
                    Field01: null,
                    Field02: null,
                    Field03: null,
                    Field04: null,
                    Field05: null,
                  },
                  Child: [],
                },
                {
                  MatCategory: {
                    CategoryId: "6",
                    ParentId: "11",
                    MaterialType: 2,
                    Description: "929-黑",
                    CategoryLevel: "1.11.6.",
                    IsValid: true,
                    Field01: null,
                    Field02: null,
                    Field03: null,
                    Field04: null,
                    Field05: null,
                  },
                  Child: [],
                },
              ],
            },
            {
              MatCategory: {
                CategoryId: "12",
                ParentId: "1",
                MaterialType: 2,
                Description: "测试产品",
                CategoryLevel: "1.12.",
                IsValid: true,
                Field01: null,
                Field02: null,
                Field03: null,
                Field04: null,
                Field05: null,
              },
              Child: [],
            },
            {
              MatCategory: {
                CategoryId: "13",
                ParentId: "1",
                MaterialType: 2,
                Description: "婴幼儿营养面条",
                CategoryLevel: "1.13.",
                IsValid: true,
                Field01: null,
                Field02: null,
                Field03: null,
                Field04: null,
                Field05: null,
              },
              Child: [],
            },
            {
              MatCategory: {
                CategoryId: "14",
                ParentId: "1",
                MaterialType: 2,
                Description: "11",
                CategoryLevel: "1.14.",
                IsValid: true,
                Field01: null,
                Field02: null,
                Field03: null,
                Field04: null,
                Field05: null,
              },
              Child: [],
            },
          ],
        },
        {
          MatCategory: {
            CategoryId: "5",
            ParentId: "0",
            MaterialType: 1,
            Description: "半成品",
            CategoryLevel: "5.",
            IsValid: true,
            Field01: null,
            Field02: null,
            Field03: null,
            Field04: null,
            Field05: null,
          },
          Child: [],
        },
        {
          MatCategory: {
            CategoryId: "15",
            ParentId: "0",
            MaterialType: 4,
            Description: "技术工单",
            CategoryLevel: "15.",
            IsValid: true,
            Field01: null,
            Field02: null,
            Field03: null,
            Field04: null,
            Field05: null,
          },
          Child: [],
        },
      ],
      deviceOption: [
        {
          DevcieId: 1,
          DeviceName: "1200-B01防腐剂小料罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 2,
          IsReplaced: null,
          BarcodeId: "1200-B01",
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 2,
          DeviceName: "1301-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 3,
          DeviceName: "1302-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 4,
          DeviceName: "1303-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 5,
          DeviceName: "1304-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 6,
          DeviceName: "1305-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 7,
          DeviceName: "1306-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 8,
          DeviceName: "1307-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 9,
          DeviceName: "1308-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 10,
          DeviceName: "1309-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 11,
          DeviceName: "1310-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 12,
          DeviceName: "1311-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 13,
          DeviceName: "1312-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 14,
          DeviceName: "1313-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 15,
          DeviceName: "1314-B01原油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 16,
          DeviceName: "1315-B01原油罐（可收油）",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 17,
          DeviceName: "1316-B01发油罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 6,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 18,
          DeviceName: "1317-B01渣滓罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 19,
          DeviceName: "1318-B01渣滓罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 20,
          DeviceName: "1319-B01渣滓罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 21,
          DeviceName: "1320-B01渣滓罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 22,
          DeviceName: "1401-B01灭菌罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 3,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 23,
          DeviceName: "1402-B01灭菌罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 3,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 24,
          DeviceName: "1403-B01灭菌罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 3,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 25,
          DeviceName: "1404-B01灭菌罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 3,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 26,
          DeviceName: "1501-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 27,
          DeviceName: "1502-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 28,
          DeviceName: "1503-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 29,
          DeviceName: "1504-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 30,
          DeviceName: "1505-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 31,
          DeviceName: "1506-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 32,
          DeviceName: "1507-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 33,
          DeviceName: "1508-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 34,
          DeviceName: "1509-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: false,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 35,
          DeviceName: "1510-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 36,
          DeviceName: "1511-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 37,
          DeviceName: "1512-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 38,
          DeviceName: "1513-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 39,
          DeviceName: "1514-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 40,
          DeviceName: "1515-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 41,
          DeviceName: "1516-B01一次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 42,
          DeviceName: "1517-B01二次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 43,
          DeviceName: "1518-B01二次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 44,
          DeviceName: "1519-B01二次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 45,
          DeviceName: "1520-B01二次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 46,
          DeviceName: "1521-B01二次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 47,
          DeviceName: "1522-B01二次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 48,
          DeviceName: "1523-B01二次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 49,
          DeviceName: "1524-B01二次沉淀罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 7,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 61,
          DeviceName: "1551-B01预调罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 4,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 62,
          DeviceName: "1552-B01预调罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 4,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 63,
          DeviceName: "1553-B01预调罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 4,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 64,
          DeviceName: "1554-B01预调罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 4,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 71,
          DeviceName: "1601-B01调配罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 1,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 72,
          DeviceName: "1602-B01调配罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 1,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 73,
          DeviceName: "1603-B01调配罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 1,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 74,
          DeviceName: "1604-B01调配罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 1,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 75,
          DeviceName: "1605-B01调配罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 1,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 76,
          DeviceName: "1606-B01调配罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 1,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 77,
          DeviceName: "1600-B01热水罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 1,
          IsReplaced: null,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 78,
          DeviceName: "1600-B02小料罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 2,
          IsReplaced: null,
          BarcodeId: "1600-B02",
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 79,
          DeviceName: "1600-B03小料罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 2,
          IsReplaced: null,
          BarcodeId: "1600-B03",
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 80,
          DeviceName: "1600-B04小料罐",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: null,
          DeviceStyleId: 2,
          IsReplaced: null,
          BarcodeId: "1600-B04",
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 81,
          DeviceName: "1901_B01",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: false,
          DeviceStyleId: 5,
          IsReplaced: false,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 82,
          DeviceName: "1902_B01",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: false,
          DeviceStyleId: 5,
          IsReplaced: false,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 83,
          DeviceName: "1903_B03",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: false,
          DeviceStyleId: 5,
          IsReplaced: false,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 84,
          DeviceName: "1904_B01",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: false,
          DeviceStyleId: 5,
          IsReplaced: false,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 85,
          DeviceName: "1905_B01",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: false,
          DeviceStyleId: 5,
          IsReplaced: false,
          BarcodeId: null,
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 86,
          DeviceName: "CIP1",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: false,
          DeviceStyleId: 5,
          IsReplaced: false,
          BarcodeId: null,
          Remark: "模拟CIP容器1",
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 87,
          DeviceName: "CIP2",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: false,
          DeviceStyleId: 5,
          IsReplaced: false,
          BarcodeId: null,
          Remark: "模拟CIP容器2",
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 88,
          DeviceName: "称量点1",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: false,
          DeviceStyleId: 8,
          IsReplaced: false,
          BarcodeId: "A1",
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
        {
          DevcieId: 89,
          DeviceName: "称量点2",
          MinVolume: 0,
          MaxVolume: 0,
          IsCheckVolume: false,
          DeviceStyleId: 8,
          IsReplaced: false,
          BarcodeId: "A2",
          Remark: null,
          WeightIO: null,
          ReplacedDevices: [],
        },
      ],
      QCItemOptions: [
        { key: 0, description: "QC变量" },
        { key: 1, description: "==" },
        { key: 2, description: "<" },
        { key: 3, description: ">" },
        { key: 4, description: "<=" },
        { key: 5, description: ">=" },
        { key: 6, description: "<V<" },
        { key: 7, description: "<=v<" },
        { key: 8, description: "<v<=" },
        { key: 9, description: "<=v<=" },
      ],
      QCVariable: [
        {
          VariableId: 1,
          Description: "变量1",
        },
        {
          VariableId: 2,
          Description: "变量2",
        },
      ],
    };
  },
  methods: {
    getCurrentXml() {
      return this.$refs.refgraph.getCurrentXml();
    },
    getReceipTotalWeight() {
      return this.$refs.refgraph.getReceipTotalWeight();
    },
    getMCVarient() {
      this.MCIValiantOption = this.$store.getters["Receip/getMCIValiantOption"];
    },
    handleCellDbClick(cell) {
      debugger;
    },
    handleCellClick(cell) {},
  },
  beforeMount() {
    //this.receipStyle = this.$store.getters["Receip/getReceipStyle"];
    //this.funOption = this.$store.getters["Receip/getWorkFlowFunction"]; //并行标配工艺
    //this.QCfunOption = this.$store.getters[
    //  "Receip/getFunctionLists"
    //].getQCFun(); //QC工艺
    //this.QCItemCols = this.$store.getters["Receip/getQCItemCols"]; //qc配置及列
    //this.getMCVarient();
  },
};
</script>
