|
@@ -33,6 +33,8 @@ export class gassControl {
|
|
|
}
|
|
|
//几何数据初始化
|
|
|
async initGemetry(aid) {
|
|
|
+ this.scalars = new Map();
|
|
|
+ this.scalar = new Map();
|
|
|
this.aid =aid;
|
|
|
const url = this._url + this.aid + "&transCode=D40001";
|
|
|
await this.reader.setUrl(url).then(() => {
|
|
@@ -41,8 +43,7 @@ export class gassControl {
|
|
|
}
|
|
|
//获取第几步标量数据
|
|
|
async getScalrsByStep(step) {
|
|
|
- this.scalars = new Map();
|
|
|
- this.scalar = new Map();
|
|
|
+
|
|
|
this.step = step;
|
|
|
if (this.scalars.get(step)) {
|
|
|
this.scalar = this.scalars.get(step);
|