@flexem/fc-gui 3.0.0-alpha.78 → 3.0.0-alpha.79

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.
package/CHANGELOG.md CHANGED
@@ -345,3 +345,8 @@
345
345
  ### Web端
346
346
  #### Bug Fix
347
347
  1. FLEXCLOUD-2553 指示灯元件、开关元件配置监控点后无法在app模拟画面中操作
348
+
349
+ ## 3.0.0-alpha.79(2023-04-12)
350
+ ### Web端
351
+ #### Bug Fix
352
+ 1. FLEXCLOUD-2564 【氚云20230410001216】云组态设备详情中IOT操作日志显示异常
@@ -37143,11 +37143,12 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
37143
37143
  clearTimeout(this.restorationTimer);
37144
37144
  this.restorationTimer = undefined;
37145
37145
  }
37146
+ this.recordValue = result.value;
37146
37147
  const writeValue = this.dataTypeService.formatToDecimal(this.model.version, result.value, this.model.dataType);
37147
- this.writeValue = writeValue;
37148
37148
  this.showValue = result.showValue;
37149
37149
  if (+this.displayText !== +this.showValue || result.variableRwType === variableRwTypeEnum.witer) {
37150
37150
  if (this.numericalOperation || result.enableNumericalOperation || result.isNumericalOperation || result.variableRwType === variableRwTypeEnum.witer) {
37151
+ this.recordOperation(result.value);
37151
37152
  this.writeValueMmodalRef.hide();
37152
37153
  }
37153
37154
  else {
@@ -37191,17 +37192,18 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
37191
37192
  }
37192
37193
  updateVariableValue(value) {
37193
37194
  var _a;
37194
- this.displayText = this.formatNumericalDisplayText(this.model.dataType, this.model.fractionDigits, value);
37195
- this.updateDisplayText(this.formatDisplayTextUnit(this.displayText));
37196
- if (((_a = this.writeValueMmodalRef) === null || _a === void 0 ? void 0 : _a.content) && +this.displayText === +this.showValue) {
37195
+ const displayText = this.formatNumericalDisplayText(this.model.dataType, this.model.fractionDigits, value);
37196
+ if (((_a = this.writeValueMmodalRef) === null || _a === void 0 ? void 0 : _a.content) && +displayText === +this.showValue) {
37197
37197
  if (this.restorationTimer) {
37198
37198
  clearTimeout(this.restorationTimer);
37199
37199
  this.restorationTimer = undefined;
37200
+ this.recordOperation(this.recordValue);
37200
37201
  }
37201
37202
  this.writeValueMmodalRef.hide();
37202
37203
  this.writeValueMmodalRef.content.hideValidationErrorInfo();
37203
- this.recordOperation(this.writeValue);
37204
37204
  }
37205
+ this.displayText = displayText;
37206
+ this.updateDisplayText(this.formatDisplayTextUnit(this.displayText));
37205
37207
  }
37206
37208
  updateDisplayText(text) {
37207
37209
  if (!this.displayForeignObject) {