| | |
| | | title="基础信息" |
| | | :column="4" |
| | | > |
| | | <a-descriptions-item label="设备编号">{{resultData.equipmentID}}</a-descriptions-item> |
| | | <a-descriptions-item label="设备编号">{{resultData.equipmentId}}</a-descriptions-item> |
| | | <a-descriptions-item label="设备名称">{{resultData.equipmentName}}</a-descriptions-item> |
| | | <a-descriptions-item label="IP地址">{{resultData.equipmentIP}}</a-descriptions-item> |
| | | <a-descriptions-item label="IP地址">{{resultData.equipmentIp}}</a-descriptions-item> |
| | | <a-descriptions-item label="端口号">{{resultData.dataPort}}</a-descriptions-item> |
| | | <a-descriptions-item label="系统版本号">{{resultData.systemVersion}}</a-descriptions-item> |
| | | <a-descriptions-item label="驱动类型">{{resultData.driveType}}</a-descriptions-item> |
| | | <a-descriptions-item label="设备型号">{{resultData.equipmentModel}}</a-descriptions-item> |
| | | <a-descriptions-item label="设备类型">{{resultData.deviceType}}</a-descriptions-item> |
| | | <a-descriptions-item label="设备类型">{{resultData.equipmentType}}</a-descriptions-item> |
| | | <a-descriptions-item label="设备功率">{{resultData.devicePower}}</a-descriptions-item> |
| | | <a-descriptions-item label="有效轴数">{{resultData.validAxis}}</a-descriptions-item> |
| | | <a-descriptions-item label="最大轴数">{{resultData.maxAxis}}</a-descriptions-item> |
| | | <a-descriptions-item label="备注">{{resultData.remark}}</a-descriptions-item> |
| | | |
| | | </a-descriptions> |
| | | |
| | | <!-- <a-descriptions |
| | | title="运行数据" |
| | | v-if="driverType != 'LSV2' && driverType != 'ZUOLAN' " |
| | | :column="4" |
| | | > |
| | | <a-descriptions-item label="主轴倍率(%)">{{resultData.spindlebeilv}}</a-descriptions-item> |
| | | <a-descriptions-item label="进给倍率(%)">{{resultData.feedbeilv}}</a-descriptions-item> |
| | | <a-descriptions-item label="主轴负荷(%)">{{resultData.spindleload}}</a-descriptions-item> |
| | | <a-descriptions-item label="主轴转速(rpm)">{{resultData.spindlespeed}}</a-descriptions-item> |
| | | <a-descriptions-item label="进给速度(mm/min)">{{resultData.feedrate}}</a-descriptions-item> |
| | | </a-descriptions> |
| | | |
| | | <a-descriptions |
| | | title="运行数据 for lsv2" |
| | | v-if="driverType == 'LSV2'" |
| | | :column="4" |
| | | > |
| | | <a-descriptions-item label="主轴倍率(%)">{{resultData.spindlebeilv}}</a-descriptions-item> |
| | | <a-descriptions-item label="设备正常运行时间">{{resultData.equipmentNormalTime}}</a-descriptions-item> |
| | | <a-descriptions-item label="快速进给倍率(%)">{{resultData.rapidfeed}}</a-descriptions-item> |
| | | <a-descriptions-item label="NC正常运行时间">{{resultData.nCNormalTime}}</a-descriptions-item> |
| | | <a-descriptions-item label="进给倍率(%)">{{resultData.feedbeilv}}</a-descriptions-item> |
| | | <a-descriptions-item label="设备运行时间">{{resultData.equipmentTime}}</a-descriptions-item> |
| | | <a-descriptions-item label="当前刀具号">{{resultData.toolNum}}</a-descriptions-item> |
| | | </a-descriptions> --> |
| | | |
| | | <!-- <a-descriptions |
| | | title="程序信息" |
| | | v-if="driverType != 'LSV2' && driverType != 'ZUOLAN' " |
| | | :column="4" |
| | | > |
| | | <a-descriptions-item label="序列号">{{resultData.sequencenumber}}</a-descriptions-item> |
| | | <a-descriptions-item |
| | | label="当前执行代码" |
| | | :span="2" |
| | | >{{resultData.executingcode}}</a-descriptions-item> |
| | | <a-descriptions-item label="工件名称">{{resultData.productName}}</a-descriptions-item> |
| | | </a-descriptions> --> |
| | | |
| | | <!-- <a-descriptions |
| | | title="程序信息 for lsv2" |
| | | v-if="driverType == 'LSV2'" |
| | | :column="4" |
| | | > |
| | | <a-descriptions-item label="当前程序">{{resultData.program}}</a-descriptions-item> |
| | | <a-descriptions-item label="程序执行点">{{resultData.programPosition}}</a-descriptions-item> |
| | | <a-descriptions-item label="操作模式">{{resultData.operationType}}</a-descriptions-item> |
| | | <a-descriptions-item label="错误信息编号一">{{resultData.firstErrorNum}}</a-descriptions-item> |
| | | <a-descriptions-item label="错误信息一">{{resultData.firstError}}</a-descriptions-item> |
| | | <a-descriptions-item label="错误信息">{{resultData.errorinfo}}</a-descriptions-item> |
| | | <a-descriptions-item label="错误信息编号二">{{resultData.secondErrorNum}}</a-descriptions-item> |
| | | <a-descriptions-item label="错误信息二">{{resultData.secondError}}</a-descriptions-item> |
| | | </a-descriptions> --> |
| | | |
| | | <!--<a-descriptions |
| | | title="轴监控数据 fro SIEMENS840DSL" |
| | | v-if="driverType == 'SIEMENS840DSL'" |
| | | :column="4" |
| | | > |
| | | <a-descriptions-item label="X轴温度">{{resultData.temperatureX}}</a-descriptions-item> |
| | | <a-descriptions-item label="Y轴温度">{{resultData.temperatureY}}</a-descriptions-item> |
| | | <a-descriptions-item label="Z轴温度">{{resultData.temperatureZ}}</a-descriptions-item> |
| | | <a-descriptions-item label="A轴温度">{{resultData.temperatureA}}</a-descriptions-item> |
| | | <a-descriptions-item label="B轴温度">{{resultData.temperatureB}}</a-descriptions-item> |
| | | <a-descriptions-item label="X轴电流">{{resultData.equipmentCurrentX}}</a-descriptions-item> |
| | | <a-descriptions-item label="Y轴电流">{{resultData.equipmentCurrentY}}</a-descriptions-item> |
| | | <a-descriptions-item label="Z轴电流">{{resultData.equipmentCurrentZ}}</a-descriptions-item> |
| | | <a-descriptions-item label="A轴电流">{{resultData.equipmentCurrentA}}</a-descriptions-item> |
| | | <a-descriptions-item label="B轴电流">{{resultData.equipmentCurrentB}}</a-descriptions-item> |
| | | <a-descriptions-item label="X轴随动误差">{{resultData.equipmentLagErrorX}}</a-descriptions-item> |
| | | <a-descriptions-item label="Y轴随动误差">{{resultData.equipmentLagErrorY}}</a-descriptions-item> |
| | | <a-descriptions-item label="Z轴随动误差">{{resultData.equipmentLagErrorZ}}</a-descriptions-item> |
| | | <a-descriptions-item label="A轴随动误差">{{resultData.equipmentLagErrorA}}</a-descriptions-item> |
| | | <a-descriptions-item label="B轴随动误差">{{resultData.equipmentLagErrorB}}</a-descriptions-item> |
| | | </a-descriptions> |
| | | --> |
| | | <!-- <a-descriptions |
| | | title="坐标信息 " |
| | | v-if="driverType == 'FANUC'" |
| | | :column="3" |
| | | > |
| | | <a-descriptions-item label="绝对坐标X">{{resultData.xabsolute}}</a-descriptions-item> |
| | | <a-descriptions-item label="绝对坐标Y">{{resultData.yabsolute}}</a-descriptions-item> |
| | | <a-descriptions-item label="绝对坐标Z">{{resultData.zabsolute}}</a-descriptions-item> |
| | | <a-descriptions-item label="机床坐标X">{{resultData.xmachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="机床坐标Y">{{resultData.ymachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="机床坐标Z">{{resultData.zmachine}}</a-descriptions-item> |
| | | </a-descriptions> |
| | | |
| | | <a-descriptions |
| | | title="坐标信息 for lsv2" |
| | | v-if="driverType == 'LSV2'" |
| | | :column="4" |
| | | > |
| | | <a-descriptions-item label="X坐标">{{resultData.xmachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="Y坐标">{{resultData.ymachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="Z坐标">{{resultData.zmachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="A坐标">{{resultData.amachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="B坐标">{{resultData.bmachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="C坐标">{{resultData.cmachine}}</a-descriptions-item> |
| | | </a-descriptions> |
| | | |
| | | <a-descriptions |
| | | title="坐标信息 for lsv2" |
| | | v-if="driverType == 'LSV2'" |
| | | :column="4" |
| | | > |
| | | <a-descriptions-item label="X坐标">{{resultData.xmachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="Y坐标">{{resultData.ymachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="Z坐标">{{resultData.zmachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="A坐标">{{resultData.amachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="B坐标">{{resultData.bmachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="C坐标">{{resultData.cmachine}}</a-descriptions-item> |
| | | </a-descriptions> |
| | | |
| | | <a-descriptions |
| | | title="坐标信息" |
| | | v-if="driverType == 'LSV2'" |
| | | :column="4" |
| | | > |
| | | <a-descriptions-item label="X坐标">{{resultData.xmachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="Y坐标">{{resultData.ymachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="Z坐标">{{resultData.zmachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="A坐标">{{resultData.amachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="B坐标">{{resultData.bmachine}}</a-descriptions-item> |
| | | <a-descriptions-item label="C坐标">{{resultData.cmachine}}</a-descriptions-item> |
| | | </a-descriptions> --> |
| | | <!---数据源调整 动态展示 运行数据----> |
| | | |
| | | <a-descriptions |
| | |
| | | |
| | | <a-descriptions-item |
| | | v-for="(item,id) in mdcDriveTypeParamConfigList " |
| | | :key="item.id" |
| | | :label="item.chineseName" |
| | | :key="id" |
| | | :label="item.key" |
| | | > |
| | | <a-tooltip @mouseenter="mouseEnterItem"> |
| | | <template slot="title"> |
| | |
| | | mdcEquiMoniGauge4.setOption(mdcEquiMoniGaugeOption4) |
| | | } |
| | | }, |
| | | |
| | | close() { |
| | | this.$emit('close') |
| | | this.visible = false |
| | | clearInterval(this.modalTimer); |
| | | this.modalTimer = null |
| | | }, |
| | | |
| | | handleCancel() { |
| | | this.close() |
| | | clearInterval(this.modalTimer); |
| | | this.modalTimer = null |
| | | }, |
| | | // initDeviceType(deviceTypeId) { |
| | | // let dictCode = 'mdc_equipmentType' |
| | | // let items = [] |
| | | // items = getDictItemsFromCache(dictCode) |
| | | // if (items && items.length > 0) { |
| | | // for (let i = 0; i < items.length; i++) { |
| | | // if (deviceTypeId == items[i].value) { |
| | | // this.deviceTypeDict = items[i].title |
| | | // } |
| | | // } |
| | | // } else { |
| | | // ajaxGetDictItems(dictCode, null).then((res) => { |
| | | // if (res.success) { |
| | | // let items = res.result |
| | | // for (let i = 0; i < items.length; i++) { |
| | | // if (deviceTypeId == items[i].value) { |
| | | // this.deviceTypeDict = items[i].title |
| | | // } |
| | | // } |
| | | // } |
| | | // }) |
| | | // } |
| | | // }, |
| | | |
| | | timerModel(id){ |
| | | this.ee = id |
| | | this.modalTimer = setInterval(() => { |
| | |
| | | // _this.drawLine() |
| | | getAction(this.url.mdcEquipmentDetailedInfo, { id: id }).then((res) => { |
| | | if (res.success) { |
| | | _this.resultData = res.result |
| | | _this.driverType = res.result.deviceType |
| | | _this.resultData = res.result.equipment |
| | | _this.driverType = res.result.driveType |
| | | _this.spindlebeilv = res.result.spindlebeilv |
| | | _this.feedbeilv = res.result.feedbeilv |
| | | _this.spindleload = res.result.spindleload |
| | | _this.rapidfeed = res.result.rapidfeed; |
| | | _this.mdcDriveTypeParamConfigList = res.result.mdcDriveTypeParamConfigList; |
| | | _this.xyzAliasesList = res.result.xyzAliasesList; |
| | | _this.mdcDriveTypeParamConfigList = res.result.runData; |
| | | // _this.xyzAliasesList = res.result.xyzAliasesList; |
| | | this.$nextTick(() => { |
| | | _this.drawLine() |
| | | }) |
| | | // _this.initDeviceType(_this.resultData.deviceType) |
| | | } else { |
| | | // _this.$message.warn(res.message) |
| | | _this.$notification.warning({ |
| | |
| | | /deep/ .ant-modal-content { |
| | | display: flex; |
| | | flex-direction: column; |
| | | /*height: calc(100vh);*/ |
| | | background-color: #4a4a48; |
| | | } |
| | | .ant-modal-body { |
| | |
| | | } |
| | | } |
| | | /deep/ .ant-modal-content { |
| | | /*background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.27) 100%);*/ |
| | | /*background: -webkit-gradient(linear, left left, right right, color-stop(0%, rgba(0, 0, 0, 0.66)), color-stop(100%, rgba(0, 0, 0, 0.4)));*/ |
| | | /*background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.4) 100%);*/ |
| | | /*background: -o-linear-gradient(left, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.4) 100%);*/ |
| | | /*background: -ms-linear-gradient(left, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.4) 100%);*/ |
| | | /*background: linear-gradient(to right, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.4) 100%);*/ |
| | | background-color: #312c2c; |
| | | opacity: 0.9; |
| | | } |
| | |
| | | padding: 0 10px; |
| | | width: auto; |
| | | min-width: 130px; |
| | | /*max-width: 300px;*/ |
| | | height: 25px; |
| | | } |
| | | |