|
@@ -296,12 +296,13 @@
|
|
|
|
|
|
|
|
// 数据处理函数
|
|
// 数据处理函数
|
|
|
const updateMonitorPoint = (data: any) => {
|
|
const updateMonitorPoint = (data: any) => {
|
|
|
- monitorPoint.y = parseFloat(data.o2val) || 0;
|
|
|
|
|
|
|
+ monitorPoint.y = parseFloat(data.o2Val) || 0;
|
|
|
monitorPoint.x =
|
|
monitorPoint.x =
|
|
|
- (parseFloat(data.coval) || 0) * 0.0001 +
|
|
|
|
|
- (parseFloat(data.gasval) || 0) +
|
|
|
|
|
- (parseFloat(data.ch2val) || 0) * 0.0001 +
|
|
|
|
|
- (parseFloat(data.chval) || 0) * 0.0001;
|
|
|
|
|
|
|
+ (parseFloat(data.coVal) || 0) * 0.0001 +
|
|
|
|
|
+ (parseFloat(data.ch4Val) || 0) +
|
|
|
|
|
+ (parseFloat(data.c2h4Val) || 0) * 0.0001 +
|
|
|
|
|
+ (parseFloat(data.c2h2Val) || 0) * 0.0001;
|
|
|
|
|
+ console.log('debug process', monitorPoint);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const updateCoordinates = (blastData: BlastTriangleData) => {
|
|
const updateCoordinates = (blastData: BlastTriangleData) => {
|