@flexem/fc-gui 3.0.0-alpha.46 → 3.0.0-alpha.48
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 +11 -1
- package/bundles/@flexem/fc-gui.umd.js +12 -7
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/elements/numerical-display/numerical-display-element.js +12 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -194,4 +194,14 @@
|
|
|
194
194
|
## 3.0.0-alpha.46(2022-10-25)
|
|
195
195
|
### Web端
|
|
196
196
|
#### Features
|
|
197
|
-
1. 解决组态写值成功后没有反馈的问题
|
|
197
|
+
1. 解决组态写值成功后没有反馈的问题
|
|
198
|
+
|
|
199
|
+
## 3.0.0-alpha.47(2022-10-25)
|
|
200
|
+
### Web端
|
|
201
|
+
#### Features
|
|
202
|
+
1. 解决manager设置了数值运算写值失败的问题
|
|
203
|
+
|
|
204
|
+
## 3.0.0-alpha.48(2022-10-25)
|
|
205
|
+
### Web端
|
|
206
|
+
#### Features
|
|
207
|
+
1. 解决一个偶发问题,在云组态的元件中设置了增益时,可能出现写完值后会先显示增益后的值并提示超过长度,再关掉弹窗的问题
|
|
@@ -27556,14 +27556,19 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
|
|
|
27556
27556
|
const writeValue = this.dataTypeService.formatToDecimal(this.model.version, result.value, this.model.dataType);
|
|
27557
27557
|
this.writeValue = writeValue;
|
|
27558
27558
|
this.showValue = result.showValue;
|
|
27559
|
-
if (
|
|
27559
|
+
if (+this.displayText !== +this.showValue) {
|
|
27560
|
+
if (this.numericalOperation) {
|
|
27561
|
+
this.writeValueMmodalRef.hide();
|
|
27562
|
+
}
|
|
27563
|
+
else {
|
|
27564
|
+
setTimeout(() => {
|
|
27565
|
+
if (+this.displayText !== +this.showValue) {
|
|
27566
|
+
this.writeValueMmodalRef.content.isSubmitting = false;
|
|
27567
|
+
this.writeValueMmodalRef.content.showValidationErrorInfo(this.localization.writeValueTimeout);
|
|
27568
|
+
}
|
|
27569
|
+
}, 10000);
|
|
27570
|
+
}
|
|
27560
27571
|
this.variableCommunicator.write(this.writeVariableName, writeValue).subscribe();
|
|
27561
|
-
setTimeout(() => {
|
|
27562
|
-
if (+this.displayText !== +this.showValue) {
|
|
27563
|
-
this.writeValueMmodalRef.content.isSubmitting = false;
|
|
27564
|
-
this.writeValueMmodalRef.content.showValidationErrorInfo(this.localization.writeValueTimeout);
|
|
27565
|
-
}
|
|
27566
|
-
}, 10000);
|
|
27567
27572
|
}
|
|
27568
27573
|
else {
|
|
27569
27574
|
this.writeValueMmodalRef.hide();
|