Files
screen-huahong/src/config/mork2.js
2024-03-07 18:09:36 +08:00

927 lines
20 KiB
JavaScript

/**
* 大屏首页设备
*/
export const deviceCondition = () => {
let res = {
'MixMachineList': [
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'HNJ01',
'mix_num': 2,
'open_time': '09:54:53.147',
'work_time': 10,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'HNJ02',
'mix_num': 2,
'open_time': '09:54:53.147',
'work_time': 10,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'HNJ03',
'mix_num': 2,
'open_time': '09:54:53.147',
'work_time': 10,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'HNJ04',
'mix_num': 2,
'open_time': '09:54:53.147',
'work_time': 10,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'HNJ05',
'mix_num': 2,
'open_time': '09:54:53.147',
'work_time': 10,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'HNJ06',
'mix_num': 2,
'open_time': '09:54:53.147',
'work_time': 10,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'HNJ07',
'mix_num': 2,
'open_time': '09:54:53.147',
'work_time': 10,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'HNJ08',
'mix_num': 2,
'open_time': '09:54:53.147',
'work_time': 10,
'error': 0
}
],
'ManipulatorInfoList': [
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'color_status': 2,
'device_code': 'FJCDJXS01',
'open_time': '06:54:53.147',
'work_time': 40,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'color_status': 2,
'device_code': 'FJMDJXS01',
'open_time': '06:54:53.147',
'work_time': 40,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'color_status': 2,
'device_code': 'FJMDJXS02',
'open_time': '06:54:53.147',
'work_time': 40,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'color_status': 2,
'device_code': 'YZJXS01',
'open_time': '07:54:53.147',
'work_time': 50,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'color_status': 2,
'device_code': 'YZJXS02',
'open_time': '07:54:53.147',
'work_time': 50,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'color_status': 2,
'device_code': 'YZJXS03',
'open_time': '07:54:53.147',
'work_time': 50,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'color_status': 2,
'device_code': 'YZJXS04',
'open_time': '07:54:53.147',
'work_time': 50,
'error': 0
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'color_status': 2,
'device_code': 'YZJXS05',
'open_time': '07:54:53.147',
'work_time': 50,
'error': 0
}
],
'SortAndPalletizingList': [
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'FJ01CDW01',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'FJ01CDW02',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'FJ01MDW01',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'FJ01MDW02',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
}
],
'manualSortingList': [
{
'pointStatus': '1',
'pointName': '人工分拣拆01',
'pointCode': 'RGFJC01'
},
{
'pointStatus': '2',
'pointName': '人工分拣拆02',
'pointCode': 'RGFJC02'
},
{
'pointStatus': '2',
'pointName': '人工分拣拆03',
'pointCode': 'RGFJC03'
},
{
'pointStatus': '1',
'pointName': '人工分拣拆04',
'pointCode': 'RGFJC04'
},
{
'pointStatus': '1',
'pointName': '人工分拣拆05',
'pointCode': 'RGFJC05'
},
{
'pointStatus': '1',
'pointName': '人工分拣拆06',
'pointCode': 'RGFJC06'
}
],
'PressMachineList': [
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'YJ01',
'open_time': '05:54:53.147',
'work_time': 20,
'current_weight': 1000,
'error': 0,
'now_capacity': '255'
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'YJ02',
'open_time': '05:54:53.147',
'work_time': 20,
'current_weight': 1000,
'error': 0,
'now_capacity': '255'
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'YJ03',
'open_time': '05:54:53.147',
'work_time': 20,
'current_weight': 1000,
'error': 0,
'now_capacity': '255'
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'YJ04',
'open_time': '05:54:53.147',
'work_time': 20,
'current_weight': 1000,
'error': 0,
'now_capacity': '255'
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'YJ05',
'open_time': '05:54:53.147',
'work_time': 20,
'current_weight': 1000,
'error': 0,
'now_capacity': '255'
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'YJ06',
'open_time': '05:54:53.147',
'work_time': 20,
'current_weight': 1000,
'error': 0,
'now_capacity': '255'
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'YJ07',
'open_time': '05:54:53.147',
'work_time': 20,
'current_weight': 1000,
'error': 0,
'now_capacity': '255'
},
{
'device_status': 2,
'error_time': 0,
'stand_time': 10,
'real_qty': 255,
'device_code': 'YJ08',
'open_time': '05:54:53.147',
'work_time': 20,
'current_weight': 1000,
'error': 0,
'now_capacity': '255'
}
],
'MixBlankingList': [
{
'pointStatus': '1',
'pointName': '混碾机01对接位',
'pointCode': 'HNJ01DJW'
},
{
'pointStatus': '1',
'pointName': '混碾机02对接位',
'pointCode': 'HNJ02DJW'
},
{
'pointStatus': '1',
'pointName': '混碾机03对接位',
'pointCode': 'HNJ03DJW'
},
{
'pointStatus': '1',
'pointName': '混碾机04对接位',
'pointCode': 'HNJ04DJW'
},
{
'pointStatus': '1',
'pointName': '混碾机05对接位',
'pointCode': 'HNJ05DJW'
},
{
'pointStatus': '1',
'pointName': '混碾机06对接位',
'pointCode': 'HNJ06DJW'
},
{
'pointStatus': '1',
'pointName': '混碾机07对接位',
'pointCode': 'HNJ07DJW'
},
{
'pointStatus': '1',
'pointName': '混碾机08对接位',
'pointCode': 'HNJ08DJW'
}
],
'hchjList': [
{
'pointStatus': '1',
'pointName': '缓存货架01',
'pointCode': 'HCHJ01'
},
{
'pointStatus': '1',
'pointName': '缓存货架02',
'pointCode': 'HCHJ02'
},
{
'pointStatus': '1',
'pointName': '缓存货架03',
'pointCode': 'HCHJ03'
},
{
'pointStatus': '1',
'pointName': '缓存货架04',
'pointCode': 'HCHJ04'
},
{
'pointStatus': '1',
'pointName': '缓存货架05',
'pointCode': 'HCHJ05'
},
{
'pointStatus': '1',
'pointName': '缓存货架06',
'pointCode': 'HCHJ06'
},
{
'pointStatus': '1',
'pointName': '缓存货架07',
'pointCode': 'HCHJ07'
},
{
'pointStatus': '1',
'pointName': '缓存货架08',
'pointCode': 'HCHJ08'
},
{
'pointStatus': '1',
'pointName': '缓存货架09',
'pointCode': 'HCHJ09'
},
{
'pointStatus': '1',
'pointName': '缓存货架10',
'pointCode': 'HCHJ10'
},
{
'pointStatus': '1',
'pointName': '缓存货架11',
'pointCode': 'HCHJ11'
},
{
'pointStatus': '3',
'pointName': '缓存货架12',
'pointCode': 'HCHJ12'
},
{
'pointStatus': '3',
'pointName': '缓存货架13',
'pointCode': 'HCHJ13'
},
{
'pointStatus': '3',
'pointName': '缓存货架14',
'pointCode': 'HCHJ14'
},
{
'pointStatus': '3',
'pointName': '缓存货架15',
'pointCode': 'HCHJ15'
},
{
'pointStatus': '3',
'pointName': '缓存货架16',
'pointCode': 'HCHJ16'
},
{
'pointStatus': '3',
'pointName': '缓存货架17',
'pointCode': 'HCHJ17'
},
{
'pointStatus': '3',
'pointName': '缓存货架18',
'pointCode': 'HCHJ18'
},
{
'pointStatus': '1',
'pointName': '缓存货架19',
'pointCode': 'HCHJ19'
},
{
'pointStatus': '1',
'pointName': '缓存货架20',
'pointCode': 'HCHJ20'
},
{
'pointStatus': '1',
'pointName': '缓存货架21',
'pointCode': 'HCHJ21'
},
{
'pointStatus': '1',
'pointName': '缓存货架22',
'pointCode': 'HCHJ22'
},
{
'pointStatus': '1',
'pointName': '缓存货架23',
'pointCode': 'HCHJ23'
},
{
'pointStatus': '1',
'pointName': '缓存货架24',
'pointCode': 'HCHJ24'
},
{
'pointStatus': '1',
'pointName': '缓存货架25',
'pointCode': 'HCHJ25'
},
{
'pointStatus': '2',
'pointName': '缓存货架26',
'pointCode': 'HCHJ26'
},
{
'pointStatus': '2',
'pointName': '缓存货架27',
'pointCode': 'HCHJ27'
},
{
'pointStatus': '2',
'pointName': '缓存货架28',
'pointCode': 'HCHJ28'
},
{
'pointStatus': '2',
'pointName': '缓存货架29',
'pointCode': 'HCHJ29'
},
{
'pointStatus': '2',
'pointName': '缓存货架30',
'pointCode': 'HCHJ30'
},
{
'pointStatus': '2',
'pointName': '缓存货架31',
'pointCode': 'HCHJ31'
},
{
'pointStatus': '2',
'pointName': '缓存货架32',
'pointCode': 'HCHJ32'
},
{
'pointStatus': '2',
'pointName': '缓存货架33',
'pointCode': 'HCHJ33'
},
{
'pointStatus': '2',
'pointName': '缓存货架34',
'pointCode': 'HCHJ34'
},
{
'pointStatus': '1',
'pointName': '缓存货架35',
'pointCode': 'HCHJ35'
},
{
'pointStatus': '1',
'pointName': '缓存货架36',
'pointCode': 'HCHJ36'
},
{
'pointStatus': '1',
'pointName': '缓存货架37',
'pointCode': 'HCHJ37'
},
{
'pointStatus': '1',
'pointName': '缓存货架38',
'pointCode': 'HCHJ38'
},
{
'pointStatus': '1',
'pointName': '缓存货架39',
'pointCode': 'HCHJ39'
},
{
'pointStatus': '1',
'pointName': '缓存货架40',
'pointCode': 'HCHJ40'
},
{
'pointStatus': '1',
'pointName': '缓存货架41',
'pointCode': 'HCHJ41'
},
{
'pointStatus': '1',
'pointName': '缓存货架42',
'pointCode': 'HCHJ42'
},
{
'pointStatus': '1',
'pointName': '缓存货架43',
'pointCode': 'HCHJ43'
},
{
'pointStatus': '1',
'pointName': '缓存货架44',
'pointCode': 'HCHJ44'
}
],
'StackingPositionList': [
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ01XLW01',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ01XLW02',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ02XLW01',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ02XLW02',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ03XLW01',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ03XLW02',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ04XLW01',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ04XLW02',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ05XLW01',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ05XLW02',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ06XLW01',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ06XLW02',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ07XLW01',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ07XLW02',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ08XLW01',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
},
{
'mode': 3,
'device_status': 2,
'move': 2,
'device_code': 'YJ08XLW02',
'error': 0,
'encoder_qty': 100,
'barcode': 10010
}
]
}
return res
}
/**
* 出、入窑输送线弹窗
*/
export const inOutKilnDetail = () => {
let res = [
{
'stat': '1',
'pointName': '入窑输送线',
'workTime': '3.5',
'palletNum': '0',
'materialNum': '25000',
'deliveredPalletNum': '0',
'deliveredMaterialNum': null
},
{
'stat': '1',
'pointName': '出窑输送线',
'workTime': '3.5',
'palletNum': '0',
'materialNum': '25000',
'deliveredPalletNum': '0',
'deliveredMaterialNum': '25000'
}
]
return res
}
/**
* 窑弹出框
*/
export const kilnDetail = () => {
let res = {
'pointName': '窑1',
'workTime': 'string',
'palletNum': 'string',
'materialNum': 'string',
'produceNum': 'string',
'materialInfos': [
'string'
]
}
return res
}
/**
* 大屏-两侧图表
*/
export const screenTableData = () => {
let res = {
'deviceErrorRecordList': [
{
'deviceCode': 'YJ06',
'deviceName': '压机06',
'errorInfo': '故障',
'errorTime': '2024-02-28 13:02:44'
},
{
'deviceCode': 'YJ01',
'deviceName': '压机01',
'errorInfo': '故障',
'errorTime': '2024-02-28 13:02:44'
},
{
'deviceCode': 'YJ02',
'deviceName': '压机02',
'errorInfo': '故障',
'errorTime': '2024-02-28 13:02:44'
},
{
'deviceCode': 'YJ03',
'deviceName': '压机03',
'errorInfo': '故障',
'errorTime': '2024-02-28 13:02:44'
},
{
'deviceCode': 'YJ03',
'deviceName': '压机03',
'errorInfo': '故障',
'errorTime': '2024-02-28 13:02:44'
}
],
'mixingList': [
{
'materialName': '004',
'planQty': '0',
'realQty': '0'
}
],
'historyList': [
{
'produceDate': '03-06',
'suppressedNum': '800',
'finishedNum': '0'
}
],
'deviceErrorList': [
{
'deviceName': '压机01',
'errorNum': '1'
},
{
'deviceName': '压机02',
'errorNum': '2'
},
{
'deviceName': '压机03',
'errorNum': '3'
},
{
'deviceName': '压机04',
'errorNum': '4'
},
{
'deviceName': '压机05',
'errorNum': '5'
},
{
'deviceName': '压机06',
'errorNum': '6'
},
{
'deviceName': '压机07',
'errorNum': '7'
},
{
'deviceName': '压机08',
'errorNum': '8'
},
{
'deviceName': '压机09',
'errorNum': '9'
},
{
'deviceName': '压机10',
'errorNum': '10'
}
],
'deviceRunStat': {
'total': 240,
'runNum': 0,
'unProducedNum': 240,
'freeNum': 0,
'errorNum': 0
},
'productList': [
{
'materialName': '001',
'requiredNum': '1000',
'suppressedNum': '378',
'finishedNum': '100'
},
{
'materialName': '003',
'requiredNum': '1000',
'suppressedNum': '756',
'finishedNum': '0'
},
{
'materialName': '004',
'requiredNum': '6000',
'suppressedNum': '7846',
'finishedNum': '0'
}
]
}
return res
}