@flexem/fc-gui 3.0.0-alpha.132 → 3.0.0-alpha.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42245,8 +42245,8 @@ class scroll_alarm_element_ScrollAlarmElement extends conditional_dynamic_displa
42245
42245
  this.variableCommunicator = variableCommunicator;
42246
42246
  this.autoCycle = (_b = (_a = this.model.generalSetting) === null || _a === void 0 ? void 0 : _a.autoCycle) !== null && _b !== void 0 ? _b : true;
42247
42247
  this.maxResultCount = (_d = (_c = this.model.generalSetting) === null || _c === void 0 ? void 0 : _c.pageSize) !== null && _d !== void 0 ? _d : 500;
42248
- // 检测是否是模拟运行模式(通过检查 alarmsStore 的类型)
42249
- this.isSimulateMode = alarmsStore && alarmsStore.constructor.name === 'SimulateAlarmDataStore';
42248
+ // 检测是否是模拟运行模式(通过检查 alarmsStore 的标记属性,不受代码混淆影响)
42249
+ this.isSimulateMode = alarmsStore && alarmsStore.isSimulationStore === true;
42250
42250
  if (this.model.filterSetting && this.model.filterSetting.detailsData && this.model.filterSetting.detailsData.length > 0) {
42251
42251
  this.alarmNames = this.model.filterSetting.detailsData.map(item => item.name);
42252
42252
  // 如果是模拟运行模式,使用静态显示逻辑(类似设计态)