diff --git a/admin/app/controllers/settings/datasource/point.controller.js b/admin/app/controllers/settings/datasource/point.controller.js index 6fe0ef12..efe48acd 100644 --- a/admin/app/controllers/settings/datasource/point.controller.js +++ b/admin/app/controllers/settings/datasource/point.controller.js @@ -244,6 +244,7 @@ app.controller('ModalAddPointCtrl', function($scope, $uibModalInstance) { $scope.point = {}; $scope.point.object_type = "ENERGY_VALUE"; $scope.point.is_trend = true; + $scope.point.is_virtual = false; $scope.ok = function() { $uibModalInstance.close($scope.point); }; diff --git a/admin/app/translations.js b/admin/app/translations.js index 8621e535..e71d69fd 100644 --- a/admin/app/translations.js +++ b/admin/app/translations.js @@ -449,6 +449,7 @@ function config($translateProvider) { LOW_LIMIT: 'Low Limit', RATIO: 'Ratio', IS_TREND: 'Is Trend', + IS_VIRTUAL: 'Is Virtual', ADDRESS: 'Address(JSON)', DESCRIPTION: 'Description(Optionnal)', INPUT_HIGH_LIMIT: 'Please Input High Limit', @@ -1488,6 +1489,7 @@ function config($translateProvider) { LOW_LIMIT: '低限', RATIO: '比例系数', IS_TREND: '保存趋势', + IS_VIRTUAL: '虚拟点', ADDRESS: '地址(JSON)', DESCRIPTION: '描述', INPUT_HIGH_LIMIT: '请输入高限', @@ -2539,6 +2541,7 @@ function config($translateProvider) { LOW_LIMIT: 'Untergrenze', RATIO: 'Skalierungsfaktor', IS_TREND: 'Trend speichern', + IS_VIRTUAL: 'Virtueller Punkt', ADDRESS: 'Adresse (JSON)', DESCRIPTION: 'Beschreibung', INPUT_HIGH_LIMIT: 'Bitte geben Sie das obere Limit ein', diff --git a/admin/views/settings/datasource/datasource.html b/admin/views/settings/datasource/datasource.html index fe3ba608..e83bb3d4 100644 --- a/admin/views/settings/datasource/datasource.html +++ b/admin/views/settings/datasource/datasource.html @@ -72,6 +72,7 @@