@flexem/fc-gui 3.0.0-alpha.55 → 3.0.0-alpha.56
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 +6 -1
- package/bundles/@flexem/fc-gui.umd.js +15 -3
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +4 -4
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/elements/numerical-display/numerical-display-element.js +7 -1
- package/elements/numerical-display/numerical-display-element.metadata.json +1 -1
- package/modal/write-value/write-value-modal.component.js +8 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -220,4 +220,9 @@
|
|
|
220
220
|
### Web端
|
|
221
221
|
#### Features
|
|
222
222
|
1. FLEXCLOUD-2347【Web端】组态页面:组态页面监控点比较多,导致组态页面切换不生效问题
|
|
223
|
-
-- 接口变更,请求变量是否缩放使用另外一个接口
|
|
223
|
+
-- 接口变更,请求变量是否缩放使用另外一个接口
|
|
224
|
+
|
|
225
|
+
## 3.0.0-alpha.56(2022-12-09)
|
|
226
|
+
### Web端
|
|
227
|
+
#### Features
|
|
228
|
+
1. FLEXCLOUD-2391【Web端】组态写值:变量(监控点)“只写”情况下,写值提示超时
|
|
@@ -27380,6 +27380,12 @@ var fcloud_data_Type = __webpack_require__(6);
|
|
|
27380
27380
|
|
|
27381
27381
|
|
|
27382
27382
|
|
|
27383
|
+
var variableRwTypeEnum;
|
|
27384
|
+
(function (variableRwTypeEnum) {
|
|
27385
|
+
variableRwTypeEnum[variableRwTypeEnum["read"] = 4] = "read";
|
|
27386
|
+
variableRwTypeEnum[variableRwTypeEnum["witer"] = 2] = "witer";
|
|
27387
|
+
variableRwTypeEnum[variableRwTypeEnum["readWiter"] = 6] = "readWiter";
|
|
27388
|
+
})(variableRwTypeEnum || (variableRwTypeEnum = {}));
|
|
27383
27389
|
class numerical_display_element_NumericalDisplayElement extends readable_element_ReadableElement {
|
|
27384
27390
|
constructor(element, injector, modalService, permissionChecker, variableCommunicator, graphStore, operationRecordService, releasedVariableService, securityChecker, variableStore, localization, signalRAppId) {
|
|
27385
27391
|
super(element, permissionChecker, variableCommunicator, variableStore, localization, signalRAppId);
|
|
@@ -27557,7 +27563,7 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
|
|
|
27557
27563
|
this.writeValue = writeValue;
|
|
27558
27564
|
this.showValue = result.showValue;
|
|
27559
27565
|
if (+this.displayText !== +this.showValue) {
|
|
27560
|
-
if (this.numericalOperation || result.enableNumericalOperation || result.isNumericalOperation) {
|
|
27566
|
+
if (this.numericalOperation || result.enableNumericalOperation || result.isNumericalOperation || result.variableRwType === variableRwTypeEnum.witer) {
|
|
27561
27567
|
this.writeValueMmodalRef.hide();
|
|
27562
27568
|
}
|
|
27563
27569
|
else {
|
|
@@ -41211,10 +41217,16 @@ let WriteValueModalComponent = class WriteValueModalComponent {
|
|
|
41211
41217
|
}
|
|
41212
41218
|
}
|
|
41213
41219
|
this.args.releasedVariableService.getVariableWithValueTransform(this.variableName).subscribe(result => {
|
|
41214
|
-
|
|
41220
|
+
const valueTransform = JSON.parse(result.valueTransform);
|
|
41221
|
+
if (valueTransform.Type !== 0) {
|
|
41215
41222
|
this.isNumericalOperation = true;
|
|
41216
41223
|
}
|
|
41217
|
-
this.onClosed({
|
|
41224
|
+
this.onClosed({
|
|
41225
|
+
value, showValue,
|
|
41226
|
+
enableNumericalOperation: this.enableNumericalOperation,
|
|
41227
|
+
isNumericalOperation: this.isNumericalOperation,
|
|
41228
|
+
variableRwType: result.variableRwType
|
|
41229
|
+
});
|
|
41218
41230
|
});
|
|
41219
41231
|
}
|
|
41220
41232
|
close() {
|