diff --git a/application/src/main/java/org/thingsboard/server/service/device/DeviceBulkImportService.java b/application/src/main/java/org/thingsboard/server/service/device/DeviceBulkImportService.java index 815d11b832..50bce64a6c 100644 --- a/application/src/main/java/org/thingsboard/server/service/device/DeviceBulkImportService.java +++ b/application/src/main/java/org/thingsboard/server/service/device/DeviceBulkImportService.java @@ -11,6 +11,7 @@ import lombok.SneakyThrows; import org.apache.commons.collections4.CollectionUtils; import org.springframework.stereotype.Service; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.DataConstants; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.DeviceProfile; import org.thingsboard.server.common.data.DeviceProfileProvisionType; @@ -89,7 +90,10 @@ public class DeviceBulkImportService extends AbstractBulkImportService { additionalInfo.set("description", new TextNode(value)); break; case IS_GATEWAY: - additionalInfo.set("gateway", BooleanNode.valueOf(Boolean.parseBoolean(value))); + additionalInfo.set(DataConstants.GATEWAY_PARAMETER, BooleanNode.valueOf(Boolean.parseBoolean(value))); + break; + case OVERWRITE_ACTIVITY_TIME: + additionalInfo.set(DataConstants.OVERWRITE_ACTIVITY_TIME_PARAMETER, BooleanNode.valueOf(Boolean.parseBoolean(value))); break; } device.setAdditionalInfo(additionalInfo); diff --git a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java index aea1317fd1..bf39aa94ce 100644 --- a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java @@ -1404,6 +1404,43 @@ public class DeviceControllerTest extends AbstractControllerTest { assertThat(retrieved.get().getStrValue()).isNotPresent(); } + @Test + public void testBulkImportDeviceWithOverwriteActivityTime() throws Exception { + String deviceName = "some_device"; + String deviceType = "some_type"; + BulkImportRequest request = new BulkImportRequest(); + request.setFile(String.format("NAME,TYPE,OVERWRITE_ACTIVITY_TIME\n%s,%s,true", deviceName, deviceType)); + BulkImportRequest.Mapping mapping = new BulkImportRequest.Mapping(); + BulkImportRequest.ColumnMapping name = new BulkImportRequest.ColumnMapping(); + name.setType(BulkImportColumnType.NAME); + BulkImportRequest.ColumnMapping type = new BulkImportRequest.ColumnMapping(); + type.setType(BulkImportColumnType.TYPE); + BulkImportRequest.ColumnMapping overwriteActivityTime = new BulkImportRequest.ColumnMapping(); + overwriteActivityTime.setType(BulkImportColumnType.OVERWRITE_ACTIVITY_TIME); + List columns = new ArrayList<>(); + columns.add(name); + columns.add(type); + columns.add(overwriteActivityTime); + + mapping.setColumns(columns); + mapping.setDelimiter(','); + mapping.setUpdate(true); + mapping.setHeader(true); + request.setMapping(mapping); + + BulkImportResult result = doPostWithTypedResponse("/api/device/bulk_import", request, new TypeReference<>() {}); + + Assert.assertEquals(1, result.getCreated().get()); + Assert.assertEquals(0, result.getErrors().get()); + Assert.assertTrue(result.getErrorsList().isEmpty()); + + Device savedDevice = doGet("/api/tenant/devices?deviceName=" + deviceName, Device.class); + + Assert.assertNotNull(savedDevice); + Assert.assertNotNull(savedDevice.getAdditionalInfo()); + Assert.assertTrue(savedDevice.getAdditionalInfo().get("overwriteActivityTime").asBoolean()); + } + @Test public void testSaveDeviceWithOutdatedVersion() throws Exception { Device device = createDevice("Device v1.0"); diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/sync/ie/importing/csv/BulkImportColumnType.java b/common/data/src/main/java/org/thingsboard/server/common/data/sync/ie/importing/csv/BulkImportColumnType.java index 69f581d272..919c9d7b09 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/sync/ie/importing/csv/BulkImportColumnType.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/sync/ie/importing/csv/BulkImportColumnType.java @@ -36,6 +36,7 @@ public enum BulkImportColumnType { SNMP_VERSION, SNMP_COMMUNITY_STRING, IS_GATEWAY, + OVERWRITE_ACTIVITY_TIME, DESCRIPTION, EDGE_LICENSE_KEY, CLOUD_ENDPOINT, diff --git a/ui-ngx/src/app/shared/import-export/import-dialog-csv.component.ts b/ui-ngx/src/app/shared/import-export/import-dialog-csv.component.ts index fa57b8f5a0..859b8b7a80 100644 --- a/ui-ngx/src/app/shared/import-export/import-dialog-csv.component.ts +++ b/ui-ngx/src/app/shared/import-export/import-dialog-csv.component.ts @@ -123,7 +123,7 @@ export class ImportDialogCsvComponent extends DialogComponent column.value); } diff --git a/ui-ngx/src/app/shared/import-export/import-export.models.ts b/ui-ngx/src/app/shared/import-export/import-export.models.ts index cf0fbcc6f5..63d06786d9 100644 --- a/ui-ngx/src/app/shared/import-export/import-export.models.ts +++ b/ui-ngx/src/app/shared/import-export/import-export.models.ts @@ -58,6 +58,7 @@ export enum ImportEntityColumnType { snmpVersion = 'SNMP_VERSION', snmpCommunityString = 'SNMP_COMMUNITY_STRING', isGateway = 'IS_GATEWAY', + overwriteActivityTime = 'OVERWRITE_ACTIVITY_TIME', description = 'DESCRIPTION', edgeLicenseKey = 'EDGE_LICENSE_KEY', cloudEndpoint = 'CLOUD_ENDPOINT', @@ -95,6 +96,7 @@ export const importEntityColumnTypeTranslations = new Map } + + @for (gatewayColumn of columnDeviceGateway; track gatewayColumn) { + + {{ columnTypesTranslations.get(gatewayColumn.value) | translate }} + + } + } diff --git a/ui-ngx/src/app/shared/import-export/table-columns-assignment.component.ts b/ui-ngx/src/app/shared/import-export/table-columns-assignment.component.ts index 2754baec29..262f1dcbfd 100644 --- a/ui-ngx/src/app/shared/import-export/table-columns-assignment.component.ts +++ b/ui-ngx/src/app/shared/import-export/table-columns-assignment.component.ts @@ -47,6 +47,8 @@ export class TableColumnsAssignmentComponent implements OnInit, ControlValueAcce columnDeviceCredentials: AssignmentColumnType[] = []; + columnDeviceGateway: AssignmentColumnType[] = []; + columnTypesTranslations = importEntityColumnTypeTranslations; readonly entityTypeDevice = EntityType.DEVICE; @@ -76,8 +78,11 @@ export class TableColumnsAssignmentComponent implements OnInit, ControlValueAcce this.columnTypes.push( { value: ImportEntityColumnType.sharedAttribute }, { value: ImportEntityColumnType.serverAttribute }, - { value: ImportEntityColumnType.timeseries }, - { value: ImportEntityColumnType.isGateway } + { value: ImportEntityColumnType.timeseries } + ); + this.columnDeviceGateway.push( + { value: ImportEntityColumnType.isGateway }, + { value: ImportEntityColumnType.overwriteActivityTime } ); this.columnDeviceCredentials.push( { value: ImportEntityColumnType.accessToken }, @@ -155,12 +160,9 @@ export class TableColumnsAssignmentComponent implements OnInit, ControlValueAcce this.columnTypes.find((columnType) => columnType.value === ImportEntityColumnType.description).disabled = isSelectDescription; if (this.entityType === EntityType.DEVICE) { - const isSelectGateway = this.columns.findIndex((column) => column.type === ImportEntityColumnType.isGateway) > -1; - - const isGatewayColumnType = this.columnTypes.find((columnType) => columnType.value === ImportEntityColumnType.isGateway); - if (isGatewayColumnType) { - isGatewayColumnType.disabled = isSelectGateway; - } + this.columnDeviceGateway.forEach((columnType) => { + columnType.disabled = this.columns.findIndex(column => column.type === columnType.value) > -1; + }); this.columnDeviceCredentials.forEach((columnCredential) => { columnCredential.disabled = this.columns.findIndex(column => column.type === columnCredential.value) > -1; diff --git a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json index a51b420b32..ec60819c61 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json +++ b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json @@ -3362,7 +3362,6 @@ "community-string": "سلسلة المجتمع SNMP" }, "isgateway": "هل هو بوابة", - "activity-time-from-gateway-device": "وقت النشاط من جهاز البوابة", "description": "الوصف", "edge-license-key": "مفتاح الترخيص", "cloud-endpoint": "نقطة نهاية السحابة", diff --git a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json index cd83d0c96b..d65d4a1454 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json @@ -2821,7 +2821,6 @@ "lwm2m-server-public-key-id": "ID o clau pública del servidor LwM2M" }, "isgateway": "Es Gateway", - "activity-time-from-gateway-device": "Data d'activitat des del dispositiu gateway", "description": "Descripció", "edge-license-key": "Clau de llicència", "cloud-endpoint": "Punt final del núvol", diff --git a/ui-ngx/src/assets/locale/locale.constant-cs_CZ.json b/ui-ngx/src/assets/locale/locale.constant-cs_CZ.json index 6fc58b4ad6..801c079910 100644 --- a/ui-ngx/src/assets/locale/locale.constant-cs_CZ.json +++ b/ui-ngx/src/assets/locale/locale.constant-cs_CZ.json @@ -2133,7 +2133,6 @@ "entity-field": "Pole entity", "access-token": "Přístupový token", "isgateway": "Je bránou", - "activity-time-from-gateway-device": "Čas aktivity ze zařízení brány", "description": "Popis", "edge-license-key": "Licenční klíč", "cloud-endpoint": "Cloud Endpoint", diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index 38da5c8c55..5686ddef8d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -5426,7 +5426,6 @@ "community-string": "SNMP-community-streng" }, "isgateway": "Er Gateway", - "activity-time-from-gateway-device": "Aktivitetstid fra gateway-enhed", "description": "Beskrivelse", "edge-license-key": "Licensnøgle", "cloud-endpoint": "Cloud Endpoint", diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index dafdd5c4f7..4b94248dc6 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -5424,7 +5424,6 @@ "community-string": "SNMP-Community-String" }, "isgateway": "Ist Gateway", - "activity-time-from-gateway-device": "Aktivitätszeit vom Gateway-Gerät", "description": "Beschreibung", "edge-license-key": "Lizenzschlüssel", "cloud-endpoint": "Cloud-Endpunkt", diff --git a/ui-ngx/src/assets/locale/locale.constant-el_GR.json b/ui-ngx/src/assets/locale/locale.constant-el_GR.json index 6bf437aa18..d6492b6399 100644 --- a/ui-ngx/src/assets/locale/locale.constant-el_GR.json +++ b/ui-ngx/src/assets/locale/locale.constant-el_GR.json @@ -5426,7 +5426,6 @@ "community-string": "Community string SNMP" }, "isgateway": "Είναι Gateway", - "activity-time-from-gateway-device": "Χρόνος δραστηριότητας από συσκευή Gateway", "description": "Περιγραφή", "edge-license-key": "Κλειδί άδειας χρήσης", "cloud-endpoint": "Τελικό σημείο Cloud", diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index a0ec3c7bc8..731f4c99bb 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -5409,6 +5409,7 @@ "column-example": "Example value data", "column-key": "Attribute/telemetry key", "credentials": "Credentials", + "gateway": "Gateway", "csv-delimiter": "CSV delimiter", "csv-first-line-header": "First line contains column names", "csv-update-data": "Update attributes/telemetry", @@ -5452,7 +5453,6 @@ "community-string": "SNMP community string" }, "isgateway": "Is Gateway", - "activity-time-from-gateway-device": "Activity time from gateway device", "description": "Description", "edge-license-key": "License Key", "cloud-endpoint": "Cloud Endpoint", diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index 9b842d767d..1a06ffd938 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -5424,7 +5424,6 @@ "community-string": "Cadena de comunidad SNMP" }, "isgateway": "Es Gateway", - "activity-time-from-gateway-device": "Hora de actividad desde dispositivo Gateway", "description": "Descripción", "edge-license-key": "Clave de licencia", "cloud-endpoint": "Endpoint de la nube", diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index fe8b3c62bf..3f8c3a42c8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -5424,7 +5424,6 @@ "community-string": "Chaîne de communauté SNMP" }, "isgateway": "Est une Gateway", - "activity-time-from-gateway-device": "Heure d’activité depuis l’appareil Gateway", "description": "Description", "edge-license-key": "Clé de licence", "cloud-endpoint": "Point de terminaison Cloud", diff --git a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json index 61ce9b9d83..6965a84ba9 100644 --- a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json +++ b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json @@ -5452,7 +5452,6 @@ "community-string": "SNMP कम्युनिटी स्ट्रिंग" }, "isgateway": "Gateway है", - "activity-time-from-gateway-device": "Gateway डिवाइस से गतिविधि समय", "description": "विवरण", "edge-license-key": "Edge लाइसेंस कुंजी", "cloud-endpoint": "क्लाउड एंडपॉइंट", diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index c18c6dff22..aad9d59e80 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -5424,7 +5424,6 @@ "community-string": "Stringa community SNMP" }, "isgateway": "È un gateway", - "activity-time-from-gateway-device": "Orario attività dal dispositivo gateway", "description": "Descrizione", "edge-license-key": "Chiave licenza", "cloud-endpoint": "Endpoint cloud", diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index a9175a5a95..b716c5545a 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -5424,7 +5424,6 @@ "community-string": "SNMPコミュニティ文字列" }, "isgateway": "Gatewayかどうか", - "activity-time-from-gateway-device": "Gatewayデバイスからの活動時間", "description": "説明", "edge-license-key": "ライセンスキー", "cloud-endpoint": "クラウドエンドポイント", diff --git a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json index 7462cc2241..500b524f76 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json +++ b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json @@ -5444,7 +5444,6 @@ "community-string": "SNMP 커뮤니티 문자열" }, "isgateway": "Gateway 여부", - "activity-time-from-gateway-device": "Gateway 장치의 활동 시간", "description": "설명", "edge-license-key": "라이선스 키", "cloud-endpoint": "클라우드 엔드포인트", diff --git a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json index 64a45c98cb..feaa7b7cd4 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json +++ b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json @@ -5452,7 +5452,6 @@ "community-string": "SNMP bendruomenės eilutė" }, "isgateway": "Yra Gateway įrenginys", - "activity-time-from-gateway-device": "Aktyvumo laikas iš Gateway įrenginio", "description": "Aprašymas", "edge-license-key": "Licencijos raktas", "cloud-endpoint": "Debesies galinis taškas", diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_BE.json b/ui-ngx/src/assets/locale/locale.constant-nl_BE.json index cd55cd8c80..0c9c317a7e 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_BE.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_BE.json @@ -5452,7 +5452,6 @@ "community-string": "SNMP community string" }, "isgateway": "Is Gateway", - "activity-time-from-gateway-device": "Activiteitstijd van gatewayapparaat", "description": "Beschrijving", "edge-license-key": "Licentiesleutel", "cloud-endpoint": "Cloud-endpoint", diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json index 6310168c4a..ba1e11dc78 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json @@ -5424,7 +5424,6 @@ "community-string": "SNMP community string" }, "isgateway": "Is Gateway", - "activity-time-from-gateway-device": "Activiteitstijd van gatewayapparaat", "description": "Beschrijving", "edge-license-key": "Licentiesleutel", "cloud-endpoint": "Cloud endpoint", diff --git a/ui-ngx/src/assets/locale/locale.constant-no_NO.json b/ui-ngx/src/assets/locale/locale.constant-no_NO.json index d6e45c333c..6fdd2484ed 100644 --- a/ui-ngx/src/assets/locale/locale.constant-no_NO.json +++ b/ui-ngx/src/assets/locale/locale.constant-no_NO.json @@ -5426,7 +5426,6 @@ "community-string": "SNMP-fellesskapsstreng" }, "isgateway": "Er gateway", - "activity-time-from-gateway-device": "Aktivitetstid fra gateway-enhet", "description": "Beskrivelse", "edge-license-key": "Lisensnøkkel", "cloud-endpoint": "Cloud-endepunkt", diff --git a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json index 2ff7f23359..974c9df32d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json +++ b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json @@ -5452,7 +5452,6 @@ "community-string": "Ciąg community SNMP" }, "isgateway": "Czy Gateway", - "activity-time-from-gateway-device": "Czas aktywności z urządzenia Gateway", "description": "Opis", "edge-license-key": "Klucz licencyjny", "cloud-endpoint": "Punkt końcowy w chmurze", diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index d7d8a1417a..ba492379c8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -5424,7 +5424,6 @@ "community-string": "String de comunidade SNMP" }, "isgateway": "É Gateway", - "activity-time-from-gateway-device": "Tempo de atividade do dispositivo gateway", "description": "Descrição", "edge-license-key": "Chave de licença", "cloud-endpoint": "Cloud Endpoint", diff --git a/ui-ngx/src/assets/locale/locale.constant-sl_SI.json b/ui-ngx/src/assets/locale/locale.constant-sl_SI.json index 77e0a18614..b0d0e2ad4d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-sl_SI.json +++ b/ui-ngx/src/assets/locale/locale.constant-sl_SI.json @@ -5442,7 +5442,6 @@ "community-string": "Niz skupnosti SNMP" }, "isgateway": "Je Gateway", - "activity-time-from-gateway-device": "Čas aktivnosti iz naprave Gateway", "description": "Opis", "edge-license-key": "Licenčni ključ", "cloud-endpoint": "Končna točka v oblaku", diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index 93023930e9..3121ff1422 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -5426,7 +5426,6 @@ "community-string": "SNMP topluluk dizesi" }, "isgateway": "Gateway mi", - "activity-time-from-gateway-device": "Gateway cihazından etkinlik zamanı", "description": "Açıklama", "edge-license-key": "Lisans Anahtarı", "cloud-endpoint": "Bulut Uç Noktası", diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index c37a9e2100..df2056f406 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -5424,7 +5424,6 @@ "community-string": "Рядок спільноти SNMP" }, "isgateway": "Це Gateway", - "activity-time-from-gateway-device": "Час активності з пристрою Gateway", "description": "Опис", "edge-license-key": "Ліцензійний ключ", "cloud-endpoint": "Кінцева точка хмари", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index e7e7fcebf9..c675db998b 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -5426,7 +5426,6 @@ "community-string": "SNMP 团体字符串" }, "isgateway": "是否为 Gateway", - "activity-time-from-gateway-device": "来自 Gateway 设备的活动时间", "description": "描述", "edge-license-key": "许可证密钥", "cloud-endpoint": "Cloud Endpoint", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json index e3ec528572..5aa9fc1942 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json @@ -3299,7 +3299,6 @@ "lwm2m-server-public-key-id": "LwM2M 伺服器公鑰或識別碼" }, "isgateway": "是否為 Gateway", - "activity-time-from-gateway-device": "來自 Gateway 裝置的活動時間", "description": "描述", "routing-key": "Edge 金鑰", "secret": "Edge 密鑰",