厂级MES

厂级MES对接

1.涂胶

http://172.17.50.36:8088/mes-edi/packPackageService/packgluing/

{
	"cmd": "put",
	"data": {
		"tab": "packgluing",
		"tags": {
			"line": "ML1",
			"tsn": "task1",
			"psn": "none",
			"esn": "P000262",
			"usn": "rp888",
			"msn": "08IPBK6001BF6AA4M0100007"
		},
		"fields": {
			"gluedata": [{
				"times": "1",
				"volumeA": "90.11",
				"volumeB": "27.11",
				"volumeAB": "117.11"
			}, {
				"times": "2",
				"volumeA": "90.22",
				"volumeB": "27.22",
				"volumeAB": "117.22"
			}, {
				"times": "3",
				"volumeA": "90.33",
				"volumeB": "27.33",
				"volumeAB": "117.33"
			}],
			"starttime": "2020-04-23 00:25:08",
			"endtime": "2020-04-23 00:25:08",
			"proportion": "0.500",
			"totalvolume": "30.000",
			"uploadtime": "2020-04-23 00:25:08",
			"result": "OK"
		}
	}
}

2.绝缘耐压

http://172.17.50.36:8088/mes-edi/packPackageService/packinsulationvol

[{
"stationName": "P000295",
"testChannel": "通道A",
"testdataId": "688175081",
"moduleCode": "444",
"projectName": "总正耐压测试",
"testStandard": "step4:漏电流(mA) 值>2 - NG;step4:HIPOT电压(V) 值<3000 - NG;",
"testResult": "漏电流(mA) = 1.64;HIPOT电压(V) = 3150;",
"projectStatus": "OK",
"testSolutionName": "首件耐压测试方案",
"sumStatus": "OK",
"testUser": "123456",
"testTime": "2021-6-10 10:44:11",
"remark": " ",
"staticDP": "0",
"chargelastdynamicDP": "0",
"chargelaststewingDP": "0",
"dischargelastdynamicDP": "0",
"dischargelaststepAH": "0.000",
"dischargelaststepWH": "0.000",
"dischargestewingDP": "0",
"DODdynamicDP": "0",
"celltempDvalue": "0.000"
}, {
"stationName": "P000295",
"testChannel": "通道A",
"testdataId": "688175081",
"moduleCode": "444",
"projectName": "总负耐压测试",
"testStandard": "step4:漏电流(mA) 值>2 - NG;step4:HIPOT电压(V) 值<3000 - NG;",
"testResult": "漏电流(mA) = 1.63;HIPOT电压(V) = 3140;",
"projectStatus": "OK",
"testSolutionName": "首件耐压测试方案",
"sumStatus": "OK",
"testUser": "123456",
"testTime": "2021-6-10 10:44:11",
"remark": " ",
"staticDP": "未知",
"chargelastdynamicDP": "未知",
"chargelaststewingDP": "未知",
"dischargelastdynamicDP": "未知",
"dischargelaststepAH": null,
"dischargelaststepWH": null,
"dischargestewingDP": "未知",
"DODdynamicDP": "未知",
"celltempDvalue": "0.000"
}]

3.通信

http://172.17.50.36:8088/mes-edi/packPackageService/packcommunication/

{
	"cmd": "put",
	"data": {
		"tab": "communication",
		"tags": {
			"wsn": "IPC_OP150",
			"esn": "eol001",
			"psn": "08IP111111",
			"usn": "wangyong",
			"differentialPressure": "144",
			"temperatureDifference": "0",
			"time": "2021-08-6 15:13:58",
			"testResult": "NG"
		},
		"fields": {
			"voltages": {
				"V1": "3.149",
				"V2": "3.245",
				"V3": "3.293",
				"V4": "3.293",
				"V5": "3.293",
				"V6": "3.293",
				"V7": "3.292",
				"V8": "3.291",
				"V9": "3.287"
			},
			"temperatures": {
				"T1": "24",
				"T2": "24",
				"T3": "24"
			}
		}
	}
}

4.气密

http://172.17.50.36:8088/mes-edi/packPackageService/packleaktest

{
	"cmd": "put",
	"data": {
		"tab": "packleaktest",
		"tags": {
			"opcode": "IPC_OP020",
			"line": "line-three",
			"psn": "M001",
			"msn": "110214521802260001",
			"esn": "eol001",
			"usn": "rp888"
		},
		"fields": {
			"productmodel": "AAAAAA ",
			"testPressure": "1",
			"decayvalue": "1",
			"testresult": "1",
			"filltime": "1",
			"stabilizetime": "1",
			"testtime": "1",
			"minpressure": " 1",
			"targetpressure": " none ",
			"maxpressure": " none ",
			"lowlimitrate": " none ",
			"highlimitrate": " none ",
			"intime": " none ",
			"outtime": " none ",
			"sbeat": " none ",
			"uploadtime": "2021-07-24 08:57:03"
		}
	}
}

5.EOL

http://172.17.50.36:8088/mes-edi/packPackageService/packeoltest

{
	"BoxCode": "08IPBN80021E4AB5F0100003",
	"TestResult": "PASS",
	"StationID": "OP100",
	"StartDate": "20210602194655",
	"EndDate": "20210602195003",
	"Dlist": [{
		"Step": "004.BMS绝缘检测",
		"Instructions": "BMS绝缘阻值",
		"Value": "60.127",
		"Judgment": "(BMS绝缘阻值>=2)",
		"Ispass": "PASS",
		"Unit": "MΩ"
	}, {
		"Step": "004.BMS绝缘检测",
		"Instructions": "BMS绝缘阻值",
		"Value": "0.988",
		"Judgment": "(BMS绝缘阻值>=0.9 &&   BMS绝缘阻值<=1.1)",
		"Ispass": "PASS",
		"Unit": "MΩ"
	}, {
		"Step": "005.等电位测试",
		"Instructions": "R",
		"Value": "0.02",
		"Judgment": "(查询测试电阻结果<=0.1)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "006.高压互锁检测",
		"Instructions": "MBCU_Err_HVIL_A",
		"Value": "1",
		"Judgment": "(MBCU_Err_HVIL_A=1)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "006.高压互锁检测",
		"Instructions": "MBCU_Err_HVIL_A",
		"Value": "0",
		"Judgment": "(MBCU_Err_HVIL_A=0)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "007.唤醒检测",
		"Instructions": "ON档唤醒MBCU_KeyFlag",
		"Value": "2",
		"Judgment": "(MBCU_KeyFlag=2)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "007.唤醒检测",
		"Instructions": "快充唤醒MBCU_KeyFlag",
		"Value": "6",
		"Judgment": "(MBCU_KeyFlag>=4)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "008.CC2通讯检测",
		"Instructions": "低压电U1",
		"Value": "11.5011713",
		"Judgment": "(U>=10.8 &&   U<=13.2)",
		"Ispass": "PASS",
		"Unit": "V"
	}, {
		"Step": "009.CAN通讯检测",
		"Instructions": "BMS_Voltage",
		"Value": "330",
		"Judgment": "(BMS_Voltage>280)",
		"Ispass": "PASS",
		"Unit": "V"
	}, {
		"Step": "009.CAN通讯检测",
		"Instructions": "MBCU_Bcu_Temper1",
		"Value": "25.0",
		"Judgment": "(MBCU_Bcu_Temper1>=24 &&   MBCU_Bcu_Temper1<=27)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "009.CAN通讯检测",
		"Instructions": "cc2",
		"Value": "1",
		"Judgment": "(cc2>0)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "010.继电器功能检测",
		"Instructions": "继电器U1",
		"Value": "0.11",
		"Judgment": "(U1<=1)",
		"Ispass": "PASS",
		"Unit": "V"
	}, {
		"Step": "010.继电器功能检测",
		"Instructions": "继电器U2",
		"Value": "329.95",
		"Judgment": "(U2>=320)",
		"Ispass": "PASS",
		"Unit": "V"
	}, {
		"Step": "010.继电器功能检测",
		"Instructions": "继电器U3",
		"Value": "329.97",
		"Judgment": "(U3>=320)",
		"Ispass": "PASS",
		"Unit": "V"
	}, {
		"Step": "011.快充继电器控制检测",
		"Instructions": "快充继电器U1",
		"Value": "-0.05",
		"Judgment": "(U1<=1 &&   U1>=-1)",
		"Ispass": "PASS",
		"Unit": "V"
	}, {
		"Step": "011.快充继电器控制检测",
		"Instructions": "快充继电器U2",
		"Value": "11.51",
		"Judgment": "(U2>=10.8 &&   U2<=13.2)",
		"Ispass": "PASS",
		"Unit": "V"
	}, {
		"Step": "012.碰撞信号检测",
		"Instructions": "MBCU_Ctr_DI3",
		"Value": "0",
		"Judgment": "(MBCU_Ctr_DI3=0)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "012.碰撞信号检测",
		"Instructions": "MBCU_Ctr_DI3",
		"Value": "1",
		"Judgment": "(MBCU_Ctr_DI3=1)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "013.电芯电压",
		"Instructions": "电芯数量",
		"Value": "100",
		"Judgment": "(电芯数量=100)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "013.电芯电压",
		"Instructions": "MaxCellV",
		"Value": "3.301",
		"Judgment": "",
		"Ispass": "PASS",
		"Unit": "V"
	}, {
		"Step": "013.电芯电压",
		"Instructions": "MinCellV",
		"Value": "3.297",
		"Judgment": "",
		"Ispass": "PASS",
		"Unit": "V"
	}, {
		"Step": "013.电芯电压",
		"Instructions": "电芯压差",
		"Value": "4.0",
		"Judgment": "(电芯压差<=5)",
		"Ispass": "PASS",
		"Unit": "mv"
	}, {
		"Step": "014.电芯温度",
		"Instructions": "Tamb",
		"Value": "23.1",
		"Judgment": "(温度>=10 &&   温度<=35)",
		"Ispass": "PASS",
		"Unit": "℃"
	}, {
		"Step": "014.电芯温度",
		"Instructions": "温感数量",
		"Value": "40",
		"Judgment": "(温感数量=40)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "014.电芯温度",
		"Instructions": "Tmax",
		"Value": "25.0",
		"Judgment": "(BMS_MaxBattTemp>=10 &&   BMS_MaxBattTemp<=35)",
		"Ispass": "PASS",
		"Unit": "℃"
	}, {
		"Step": "014.电芯温度",
		"Instructions": "Tmin",
		"Value": "25.0",
		"Judgment": "(BMS_MinBattTemp>=10 &&   BMS_MinBattTemp<=35)",
		"Ispass": "PASS",
		"Unit": "℃"
	}, {
		"Step": "014.电芯温度",
		"Instructions": "电芯温差",
		"Value": "0",
		"Judgment": "(电芯温差<=2)",
		"Ispass": "PASS",
		"Unit": "℃"
	}, {
		"Step": "014.电芯温度",
		"Instructions": "最高与环境温度差",
		"Value": "1.9",
		"Judgment": "(最高与环境温度差<=2)",
		"Ispass": "PASS",
		"Unit": "℃"
	}, {
		"Step": "014.电芯温度",
		"Instructions": "最低与环境温度差",
		"Value": "1.9",
		"Judgment": "(最低与环境温度差<=2)",
		"Ispass": "PASS",
		"Unit": "℃"
	}, {
		"Step": "015.充电座温度",
		"Instructions": "T1",
		"Value": "25",
		"Judgment": "(MBCU_Bcu_Temper1>=24 &&   MBCU_Bcu_Temper1<=26)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "015.充电座温度",
		"Instructions": "T2",
		"Value": "25",
		"Judgment": "(MBCU_Bcu_Temper2>=24 &&   MBCU_Bcu_Temper2<=26)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "015.充电座温度",
		"Instructions": "T3",
		"Value": "-40",
		"Judgment": "(MBCU_Bcu_Temper1=-40)",
		"Ispass": "PASS",
		"Unit": ""
	}, {
		"Step": "015.充电座温度",
		"Instructions": "T4",
		"Value": "-40",
		"Judgment": "(MBCU_Bcu_Temper2=-40)",
		"Ispass": "PASS",
		"Unit": ""
	}]
}

6.称重

http://172.17.50.36:8088/mes-edi/packPackageService/packweight

{
	"cmd": "put",
	"data": {
		"tab": "packweight",
		"tags": {
			"opcode": "IPC_OP220 ",
			"line": "line-one",
			"usn": "1001",
			"psn": "A11111111111111111111111",
			"esn": "packweight"
		},
		"fields": {
			"producerhythm": "121",
			"productweigh": "1",
			"lowweighset": "1",
			"upweighset": "1",
			"testresult": "1",
			"intime": "2018-7-16 9:36:15",
			"outtime": "2018-7-16 9:36:15",
			"uploadtime": "2018-7-16 9:41:15"
		}
	}
}

厂级拧紧数据接口测试_ok

http://172.17.50.36:8088/mes-edi/packPackageService/packtighten

{
	"cmd": "put",
	"data": {
		"tags": {
			"opcode": "IPC_OP020 ",
			"line": "line-1 ",
			"station": "A",
			"esn": "P000001",
			"psn": "MZ110214521802260005",
			"msn": "110214521802260001",
			"line": "line-three",
			"usn": "rp888"
		},
		"fields": {
			"tightencode": "c12",
			"tightprocedurecode": " ",
			"sleevenumber": "1232",
			"lasttorsion": "1232 ",
			"lastangle": "45",
			"minangle": "45",
			"workstepno": "45",
			"stepwisestate": "1",
			"steprhythm": "1",
			"stepstarttime": "1",
			"stependtime": "1",
			"uploadtime": "2019-08-05 12:57:03",
			"maxtorsion": "1",
			"maxangle": "1"
		}
	}
}

厂级扫描数据接口测试_ok

http://172.17.50.36:8088/mes-edi/packPackageService/packscanner

{
	"cmd": "put",
	"data": {
		"tags": {
			"opcode": "IPC_OP170 ",
			"line": "line-three",
			"psn": "MZ110214521802260001",
			"esn": "eol001",
			"usn": "rp888",
			"msn": "material"
		},
		"fields": {
			"workstepno": "1",
			"stepwisestate": "1",
			"steprhythm": "1",
			"intime": "2019-07-30 11:08:09",
			"outtime": "2019-07-30 11:08:09",
			"uploadtime": " 2019-07-30 11:08:09"
		}
	}
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值