diff --git a/apps/web-antd/src/api-client/schemas.gen.ts b/apps/web-antd/src/api-client/schemas.gen.ts index 03427c7..a9144ee 100644 --- a/apps/web-antd/src/api-client/schemas.gen.ts +++ b/apps/web-antd/src/api-client/schemas.gen.ts @@ -1720,6 +1720,30 @@ export const CreateOrganizationUnitInputSchema = { additionalProperties: false } as const; +export const CreatePlatformThingModelCommandInputSchema = { + required: ['issueCommand', 'operateType', 'thingModelDataId'], + type: 'object', + properties: { + thingModelDataId: { + type: 'string', + description: '平台端物模型数据Id', + format: 'uuid' + }, + operateType: { + type: 'integer', + description: '待下发的操作指令类型,例如阀控操作时,是拉闸还是合闸,根据StandardFieldName进行分组', + format: 'int32' + }, + issueCommand: { + minLength: 1, + type: 'string', + description: '完整透明转发指令' + } + }, + additionalProperties: false, + description: '新增平台端物模型操作指令' +} as const; + export const CreateTextTemplateInputSchema = { required: ['code', 'content', 'cultureName', 'name'], type: 'object', @@ -2995,8 +3019,7 @@ export const DeviceThingModelCommandInfoDtoSchema = { operateCommandType: { type: 'integer', description: '待下发的操作指令类型,,例如阀控操作时,是拉闸还是合闸', - format: 'int32', - nullable: true + format: 'int32' } }, additionalProperties: false, @@ -6272,7 +6295,10 @@ export const IoTPlatformThingModelCreateInputSchema = { description: '是否是特殊物模型标识符' }, ioTPlatformRawFieldExtension: { - '$ref': '#/components/schemas/JToken' + type: 'object', + additionalProperties: {}, + description: '物联网平台中对应产品物模型标识符扩展,用于扩展结构体类型', + nullable: true }, isOperableIdentifier: { type: 'boolean', @@ -6287,7 +6313,10 @@ export const IoTPlatformThingModelCreateInputSchema = { '$ref': '#/components/schemas/ThingModelIdentifierTypeEnum' }, standardFieldFieldExtension: { - '$ref': '#/components/schemas/JToken' + type: 'object', + additionalProperties: {}, + description: '标准物模型字段标识符扩展,数组或者结构体时候的参数或者元素名称集合', + nullable: true } }, additionalProperties: false @@ -6709,7 +6738,10 @@ export const IoTPlatformThingModelUpdateInputSchema = { description: '是否是特殊物模型标识符' }, ioTPlatformRawFieldExtension: { - '$ref': '#/components/schemas/JToken' + type: 'object', + additionalProperties: {}, + description: '物联网平台中对应产品物模型标识符扩展,用于扩展结构体类型', + nullable: true }, isOperableIdentifier: { type: 'boolean', @@ -6724,7 +6756,10 @@ export const IoTPlatformThingModelUpdateInputSchema = { '$ref': '#/components/schemas/ThingModelIdentifierTypeEnum' }, standardFieldFieldExtension: { - '$ref': '#/components/schemas/JToken' + type: 'object', + additionalProperties: {}, + description: '标准物模型字段标识符扩展,数组或者结构体时候的参数或者元素名称集合', + nullable: true }, id: { type: 'string', @@ -6740,13 +6775,6 @@ export const IoTPlatformTypeEnumSchema = { description: '物联网平台类型枚举' } as const; -export const JTokenSchema = { - type: 'array', - items: { - '$ref': '#/components/schemas/JToken' - } -} as const; - export const LanguageInfoSchema = { type: 'object', properties: { @@ -9389,6 +9417,14 @@ export const PagingDataDictionaryDetailOutputSchema = { description: '扩展属性', nullable: true }, + extendedAttributeValue: { + type: 'object', + additionalProperties: { + nullable: true + }, + description: '扩展属性值', + nullable: true + }, isEnabled: { type: 'boolean', description: '启/停用(默认启用)' diff --git a/apps/web-antd/src/api-client/services.gen.ts b/apps/web-antd/src/api-client/services.gen.ts index 79d4940..8da7509 100644 --- a/apps/web-antd/src/api-client/services.gen.ts +++ b/apps/web-antd/src/api-client/services.gen.ts @@ -1,7 +1,7 @@ // This file is auto-generated by @hey-api/openapi-ts import { createClient, createConfig, type Options, formDataBodySerializer } from '@hey-api/client-axios'; -import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionError, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationError, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationError, GetApiAbpApplicationLocalizationResponse, PostApiAppAccountLoginData, PostApiAppAccountLoginError, PostApiAppAccountLoginResponse, PostApiAppAccountLogin2FaData, PostApiAppAccountLogin2FaError, PostApiAppAccountLogin2FaResponse, PostApiAppAccountLoginOidcData, PostApiAppAccountLoginOidcError, PostApiAppAccountLoginOidcResponse, PostApiAppAccountRefreshTokenData, PostApiAppAccountRefreshTokenError, PostApiAppAccountRefreshTokenResponse, PostApiAppAccountLogoutError, PostApiAppAccountLogoutResponse, PostAuditLogsPageData, PostAuditLogsPageError, PostAuditLogsPageResponse, PostAggregationBusinessReceiveSetCommandInfoAsyncData, PostAggregationBusinessReceiveSetCommandInfoAsyncError, PostAggregationBusinessReceiveSetCommandInfoAsyncResponse, PostAggregationBusinessBatchQueryDeviceDataInfoAsyncData, PostAggregationBusinessBatchQueryDeviceDataInfoAsyncError, PostAggregationBusinessBatchQueryDeviceDataInfoAsyncResponse, PostAggregationBusinessQueryDeviceDataInfoAsyncData, PostAggregationBusinessQueryDeviceDataInfoAsyncError, PostAggregationBusinessQueryDeviceDataInfoAsyncResponse, PostAggregationBusinessBatchCreateDeviceInfoAsyncData, PostAggregationBusinessBatchCreateDeviceInfoAsyncError, PostAggregationBusinessBatchCreateDeviceInfoAsyncResponse, PostAggregationBusinessReceiveGetCommandInfoAsyncData, PostAggregationBusinessReceiveGetCommandInfoAsyncError, PostAggregationBusinessReceiveGetCommandInfoAsyncResponse, GetCommonGetSelectListData, GetCommonGetSelectListError, GetCommonGetSelectListResponse, PostCtWingAccountInsertAsyncData, PostCtWingAccountInsertAsyncError, PostCtWingAccountInsertAsyncResponse, PostCtWingAccountModifyAsyncData, PostCtWingAccountModifyAsyncError, PostCtWingAccountModifyAsyncResponse, PostCtWingAccountDeleteAsyncData, PostCtWingAccountDeleteAsyncError, PostCtWingAccountDeleteAsyncResponse, PostCtWingAccountListAsyncData, PostCtWingAccountListAsyncError, PostCtWingAccountListAsyncResponse, PostCtWingProductInsertAsyncData, PostCtWingProductInsertAsyncError, PostCtWingProductInsertAsyncResponse, PostCtWingProductModifyAsyncData, PostCtWingProductModifyAsyncError, PostCtWingProductModifyAsyncResponse, PostCtWingProductDeleteAsyncData, PostCtWingProductDeleteAsyncError, PostCtWingProductDeleteAsyncResponse, PostCtWingProductGetAsyncData, PostCtWingProductGetAsyncError, PostCtWingProductGetAsyncResponse, PostCtWingProductProductStatusChangeAsyncData, PostCtWingProductProductStatusChangeAsyncError, PostCtWingProductProductStatusChangeAsyncResponse, PostCtWingProductListAsyncData, PostCtWingProductListAsyncError, PostCtWingProductListAsyncResponse, PostCtWingServiceReceiveStatusChangeError, PostCtWingServiceReceiveStatusChangeResponse, PostCtWingServiceReceiveDataChangeError, PostCtWingServiceReceiveDataChangeResponse, PostCtWingServiceReceiveCommandChangeError, PostCtWingServiceReceiveCommandChangeResponse, PostCtWingServiceReceiveEventChangeError, PostCtWingServiceReceiveEventChangeResponse, PostCtWingServiceReceiveDeviceChangeError, PostCtWingServiceReceiveDeviceChangeResponse, PostDataDictionaryPageData, PostDataDictionaryPageError, PostDataDictionaryPageResponse, PostDataDictionaryPageDetailData, PostDataDictionaryPageDetailError, PostDataDictionaryPageDetailResponse, PostDataDictionarySelectDetailData, PostDataDictionarySelectDetailError, PostDataDictionarySelectDetailResponse, PostDataDictionaryCreateData, PostDataDictionaryCreateError, PostDataDictionaryCreateResponse, PostDataDictionaryCreateDetailData, PostDataDictionaryCreateDetailError, PostDataDictionaryCreateDetailResponse, PostDataDictionaryStatusData, PostDataDictionaryStatusError, PostDataDictionaryStatusResponse, PostDataDictionaryUpdateDetailData, PostDataDictionaryUpdateDetailError, PostDataDictionaryUpdateDetailResponse, PostDataDictionaryDeleteData, PostDataDictionaryDeleteError, PostDataDictionaryDeleteResponse, PostDataDictionaryDeleteDataDictionaryTypeData, PostDataDictionaryDeleteDataDictionaryTypeError, PostDataDictionaryDeleteDataDictionaryTypeResponse, PostDataDictionaryUpdateData, PostDataDictionaryUpdateError, PostDataDictionaryUpdateResponse, PostAggregationDeviceCreateAsyncData, PostAggregationDeviceCreateAsyncError, PostAggregationDeviceCreateAsyncResponse, PostAggregationDeviceBatchCreateAsyncData, PostAggregationDeviceBatchCreateAsyncError, PostAggregationDeviceBatchCreateAsyncResponse, PostAggregationDeviceDeleteAsyncData, PostAggregationDeviceDeleteAsyncError, PostAggregationDeviceDeleteAsyncResponse, PostAggregationDeviceFindByIdAsyncData, PostAggregationDeviceFindByIdAsyncError, PostAggregationDeviceFindByIdAsyncResponse, PostAggregationDeviceRepushDeviceInfoToIoTplatformData, PostAggregationDeviceRepushDeviceInfoToIoTplatformError, PostAggregationDeviceRepushDeviceInfoToIoTplatformResponse, PostAggregationDeviceDeviceCommandForApiAsyncData, PostAggregationDeviceDeviceCommandForApiAsyncError, PostAggregationDeviceDeviceCommandForApiAsyncResponse, PostAggregationDeviceGetDevicePropertyValueForApiAsyncData, PostAggregationDeviceGetDevicePropertyValueForApiAsyncError, PostAggregationDeviceGetDevicePropertyValueForApiAsyncResponse, PostAggregationDeviceDeviceUpgradeForApiAsyncData, PostAggregationDeviceDeviceUpgradeForApiAsyncError, PostAggregationDeviceDeviceUpgradeForApiAsyncResponse, PostAggregationDeviceDeviceBatchUpgradeForApiAsyncData, PostAggregationDeviceDeviceBatchUpgradeForApiAsyncError, PostAggregationDeviceDeviceBatchUpgradeForApiAsyncResponse, PostAggregationDeviceDownloadFirmwareData, PostAggregationDeviceDownloadFirmwareError, PostAggregationDeviceDownloadFirmwareResponse, GetAggregationDeviceDownloadFirmwareData, GetAggregationDeviceDownloadFirmwareError, GetAggregationDeviceDownloadFirmwareResponse, PostAggregationDeviceBindingDeviceThingModelData, PostAggregationDeviceBindingDeviceThingModelError, PostAggregationDeviceBindingDeviceThingModelResponse, PostAggregationDeviceCallDeviceServiceForApiAsyncData, PostAggregationDeviceCallDeviceServiceForApiAsyncError, PostAggregationDeviceCallDeviceServiceForApiAsyncResponse, PostAggregationDeviceDeviceMasterSwitchForApiAsyncData, PostAggregationDeviceDeviceMasterSwitchForApiAsyncError, PostAggregationDeviceDeviceMasterSwitchForApiAsyncResponse, PostFirmwareInfoCreateAsyncData, PostFirmwareInfoCreateAsyncError, PostFirmwareInfoCreateAsyncResponse, PostFirmwareInfoUpdateAsyncData, PostFirmwareInfoUpdateAsyncError, PostFirmwareInfoUpdateAsyncResponse, PostFirmwareInfoDeleteAsyncData, PostFirmwareInfoDeleteAsyncError, PostFirmwareInfoDeleteAsyncResponse, PostFirmwareInfoFindByIdAsyncData, PostFirmwareInfoFindByIdAsyncError, PostFirmwareInfoFindByIdAsyncResponse, PostFirmwareInfoUpdateStatusByIdAsyncData, PostFirmwareInfoUpdateStatusByIdAsyncError, PostFirmwareInfoUpdateStatusByIdAsyncResponse, PostFirmwareInfoFindByDeviceProductIdAsyncData, PostFirmwareInfoFindByDeviceProductIdAsyncError, PostFirmwareInfoFindByDeviceProductIdAsyncResponse, PostFirmwareInfoPageData, PostFirmwareInfoPageError, PostFirmwareInfoPageResponse, PostDeviceInfoFindByDeviceAddressData, PostDeviceInfoFindByDeviceAddressError, PostDeviceInfoFindByDeviceAddressResponse, PostDeviceInfoPageData, PostDeviceInfoPageError, PostDeviceInfoPageResponse, PostDeviceInfoCacheDeviceDataToRedisError, PostDeviceInfoCacheDeviceDataToRedisResponse, PostDeviceInfoMqttDeviceLoginData, PostDeviceInfoMqttDeviceLoginError, PostDeviceInfoMqttDeviceLoginResponse, PostDeviceThingModelManagementCreateAsyncData, PostDeviceThingModelManagementCreateAsyncError, PostDeviceThingModelManagementCreateAsyncResponse, PostDeviceThingModelManagementUpdateAsyncData, PostDeviceThingModelManagementUpdateAsyncError, PostDeviceThingModelManagementUpdateAsyncResponse, PostDeviceThingModelManagementDeleteAsyncData, PostDeviceThingModelManagementDeleteAsyncError, PostDeviceThingModelManagementDeleteAsyncResponse, PostDeviceThingModelManagementFindByIdAsyncData, PostDeviceThingModelManagementFindByIdAsyncError, PostDeviceThingModelManagementFindByIdAsyncResponse, PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncData, PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncError, PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncResponse, PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncData, PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncError, PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncResponse, PostDeviceThingModelManagementBuildAnalysisScriptAsyncData, PostDeviceThingModelManagementBuildAnalysisScriptAsyncError, PostDeviceThingModelManagementBuildAnalysisScriptAsyncResponse, PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncData, PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncError, PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncResponse, PostDeviceThingModelManagementMessageAnalysisTestAsyncData, PostDeviceThingModelManagementMessageAnalysisTestAsyncError, PostDeviceThingModelManagementMessageAnalysisTestAsyncResponse, PostDeviceThingModelManagementFindByPlatformProductIdAsyncData, PostDeviceThingModelManagementFindByPlatformProductIdAsyncError, PostDeviceThingModelManagementFindByPlatformProductIdAsyncResponse, PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncData, PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncError, PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncResponse, PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncData, PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncError, PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncResponse, PostDeviceThingModelManagementPageAsyncData, PostDeviceThingModelManagementPageAsyncError, PostDeviceThingModelManagementPageAsyncResponse, PostDeviceThingModelManagementPropertyCreateAsyncData, PostDeviceThingModelManagementPropertyCreateAsyncError, PostDeviceThingModelManagementPropertyCreateAsyncResponse, PostDeviceThingModelManagementPropertyUpdateAsyncData, PostDeviceThingModelManagementPropertyUpdateAsyncError, PostDeviceThingModelManagementPropertyUpdateAsyncResponse, PostDeviceThingModelManagementPropertyDeleteAsyncData, PostDeviceThingModelManagementPropertyDeleteAsyncError, PostDeviceThingModelManagementPropertyDeleteAsyncResponse, PostDeviceThingModelManagementPropertyFindByIdAsyncData, PostDeviceThingModelManagementPropertyFindByIdAsyncError, PostDeviceThingModelManagementPropertyFindByIdAsyncResponse, PostDeviceThingModelManagementPropertyPageAsyncData, PostDeviceThingModelManagementPropertyPageAsyncError, PostDeviceThingModelManagementPropertyPageAsyncResponse, PostDeviceThingModelManagementCommandCreateAsyncData, PostDeviceThingModelManagementCommandCreateAsyncError, PostDeviceThingModelManagementCommandCreateAsyncResponse, PostDeviceThingModelManagementCommandUpdateAsyncData, PostDeviceThingModelManagementCommandUpdateAsyncError, PostDeviceThingModelManagementCommandUpdateAsyncResponse, PostDeviceThingModelManagementCommandDeleteAsyncData, PostDeviceThingModelManagementCommandDeleteAsyncError, PostDeviceThingModelManagementCommandDeleteAsyncResponse, PostDeviceThingModelManagementCommandFindByIdAsyncData, PostDeviceThingModelManagementCommandFindByIdAsyncError, PostDeviceThingModelManagementCommandFindByIdAsyncResponse, PostDeviceThingModelManagementUpdateCommandStatusByIdAsyncData, PostDeviceThingModelManagementUpdateCommandStatusByIdAsyncError, PostDeviceThingModelManagementUpdateCommandStatusByIdAsyncResponse, PostDeviceThingModelManagementCommandPageAsyncData, PostDeviceThingModelManagementCommandPageAsyncError, PostDeviceThingModelManagementCommandPageAsyncResponse, PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncData, PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncError, PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncResponse, PostDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsyncError, PostDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsyncResponse, PostUpgradeRecordUpdateStatusAsyncData, PostUpgradeRecordUpdateStatusAsyncError, PostUpgradeRecordUpdateStatusAsyncResponse, PostUpgradeRecordBatchUpdateStatusAsyncData, PostUpgradeRecordBatchUpdateStatusAsyncError, PostUpgradeRecordBatchUpdateStatusAsyncResponse, PostUpgradeRecordDeleteAsyncData, PostUpgradeRecordDeleteAsyncError, PostUpgradeRecordDeleteAsyncResponse, PostUpgradeRecordPageData, PostUpgradeRecordPageError, PostUpgradeRecordPageResponse, PostFeaturesListData, PostFeaturesListError, PostFeaturesListResponse, PostFeaturesUpdateData, PostFeaturesUpdateError, PostFeaturesUpdateResponse, PostFeaturesDeleteData, PostFeaturesDeleteError, PostFeaturesDeleteResponse, PostFilesPageData, PostFilesPageError, PostFilesPageResponse, PostFilesUploadData, PostFilesUploadError, PostFilesUploadResponse, PostFilesDeleteData, PostFilesDeleteError, PostFilesDeleteResponse, PostFilesDownloadData, PostFilesDownloadError, PostFilesDownloadResponse, PostIdentitySecurityLogsPageData, PostIdentitySecurityLogsPageError, PostIdentitySecurityLogsPageResponse, PostAggregationIoTplatformGetIoTplatformProductInfoAsyncData, PostAggregationIoTplatformGetIoTplatformProductInfoAsyncError, PostAggregationIoTplatformGetIoTplatformProductInfoAsyncResponse, PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncData, PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncError, PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncResponse, PostAggregationIoTplatformGetIoTplatformProductThingModelInfoAsyncData, PostAggregationIoTplatformGetIoTplatformProductThingModelInfoAsyncError, PostAggregationIoTplatformGetIoTplatformProductThingModelInfoAsyncResponse, PostAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsyncData, PostAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsyncError, PostAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsyncResponse, PostAggregationIoTplatformIoTplatformDataLogReHandlerAsyncData, PostAggregationIoTplatformIoTplatformDataLogReHandlerAsyncError, PostAggregationIoTplatformIoTplatformDataLogReHandlerAsyncResponse, PostIoTplatformThingModelInfoCreateAsyncData, PostIoTplatformThingModelInfoCreateAsyncError, PostIoTplatformThingModelInfoCreateAsyncResponse, PostIoTplatformThingModelInfoUpdateAsyncData, PostIoTplatformThingModelInfoUpdateAsyncError, PostIoTplatformThingModelInfoUpdateAsyncResponse, PostIoTplatformThingModelInfoDeleteAsyncData, PostIoTplatformThingModelInfoDeleteAsyncError, PostIoTplatformThingModelInfoDeleteAsyncResponse, PostIoTplatformThingModelInfoFindByIdAsyncData, PostIoTplatformThingModelInfoFindByIdAsyncError, PostIoTplatformThingModelInfoFindByIdAsyncResponse, PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncData, PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncError, PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncResponse, PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncData, PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncError, PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncResponse, PostIoTplatformThingModelInfoCopyStandardThingModelData, PostIoTplatformThingModelInfoCopyStandardThingModelError, PostIoTplatformThingModelInfoCopyStandardThingModelResponse, PostIoTplatformThingModelInfoPageAsyncData, PostIoTplatformThingModelInfoPageAsyncError, PostIoTplatformThingModelInfoPageAsyncResponse, PostIoTplatformThingModelInfoGetAllPlatformThingModelAsyncError, PostIoTplatformThingModelInfoGetAllPlatformThingModelAsyncResponse, PostIoTplatformThingModelInfoStandardThingModelPageAsyncError, PostIoTplatformThingModelInfoStandardThingModelPageAsyncResponse, PostIoTplatformThingModelInfoUpdateOperableIdentifierData, PostIoTplatformThingModelInfoUpdateOperableIdentifierError, PostIoTplatformThingModelInfoUpdateOperableIdentifierResponse, PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceData, PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceError, PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceResponse, PostLanguagesAllError, PostLanguagesAllResponse, PostLanguagesPageData, PostLanguagesPageError, PostLanguagesPageResponse, PostLanguagesCreateData, PostLanguagesCreateError, PostLanguagesCreateResponse, PostLanguagesUpdateData, PostLanguagesUpdateError, PostLanguagesUpdateResponse, PostLanguagesDeleteData, PostLanguagesDeleteError, PostLanguagesDeleteResponse, PostLanguagesSetDefaultData, PostLanguagesSetDefaultError, PostLanguagesSetDefaultResponse, PostLanguageTextsAllResourceError, PostLanguageTextsAllResourceResponse, PostLanguageTextsPageData, PostLanguageTextsPageError, PostLanguageTextsPageResponse, PostLanguageTextsCreateData, PostLanguageTextsCreateError, PostLanguageTextsCreateResponse, PostLanguageTextsUpdateData, PostLanguageTextsUpdateError, PostLanguageTextsUpdateResponse, PostMenusUserMenuError, PostMenusUserMenuResponse, PostMenusPageData, PostMenusPageError, PostMenusPageResponse, PostMenusCreateData, PostMenusCreateError, PostMenusCreateResponse, PostMenusUpdateData, PostMenusUpdateError, PostMenusUpdateResponse, PostMenusDeleteData, PostMenusDeleteError, PostMenusDeleteResponse, PostMenusTreeError, PostMenusTreeResponse, PostNotificationNotificationPageData, PostNotificationNotificationPageError, PostNotificationNotificationPageResponse, PostNotificationNotificationSubscriptionPageData, PostNotificationNotificationSubscriptionPageError, PostNotificationNotificationSubscriptionPageResponse, PostNotificationDeleteData, PostNotificationDeleteError, PostNotificationDeleteResponse, PostNotificationSendCommonWarningMessageData, PostNotificationSendCommonWarningMessageError, PostNotificationSendCommonWarningMessageResponse, PostNotificationSendCommonInformationMessageData, PostNotificationSendCommonInformationMessageError, PostNotificationSendCommonInformationMessageResponse, PostNotificationSendCommonErrorMessageData, PostNotificationSendCommonErrorMessageError, PostNotificationSendCommonErrorMessageResponse, PostNotificationSendBroadCastWarningMessageData, PostNotificationSendBroadCastWarningMessageError, PostNotificationSendBroadCastWarningMessageResponse, PostNotificationSendBroadCastInformationMessageData, PostNotificationSendBroadCastInformationMessageError, PostNotificationSendBroadCastInformationMessageResponse, PostNotificationSendBroadCastErrorMessageData, PostNotificationSendBroadCastErrorMessageError, PostNotificationSendBroadCastErrorMessageResponse, PostNotificationReadData, PostNotificationReadError, PostNotificationReadResponse, PostNotificationBatchReadData, PostNotificationBatchReadError, PostNotificationBatchReadResponse, PostOneNetAccountInsertAsyncData, PostOneNetAccountInsertAsyncError, PostOneNetAccountInsertAsyncResponse, PostOneNetAccountModifyAsyncData, PostOneNetAccountModifyAsyncError, PostOneNetAccountModifyAsyncResponse, PostOneNetAccountDeleteAsyncData, PostOneNetAccountDeleteAsyncError, PostOneNetAccountDeleteAsyncResponse, PostOneNetAccountListAsyncData, PostOneNetAccountListAsyncError, PostOneNetAccountListAsyncResponse, PostOneNetProductInsertAsyncData, PostOneNetProductInsertAsyncError, PostOneNetProductInsertAsyncResponse, PostOneNetProductModifyAsyncData, PostOneNetProductModifyAsyncError, PostOneNetProductModifyAsyncResponse, PostOneNetProductDeleteAsyncData, PostOneNetProductDeleteAsyncError, PostOneNetProductDeleteAsyncResponse, PostOneNetProductGetAsyncData, PostOneNetProductGetAsyncError, PostOneNetProductGetAsyncResponse, PostOneNetProductProductStatusChangeAsyncData, PostOneNetProductProductStatusChangeAsyncError, PostOneNetProductProductStatusChangeAsyncResponse, PostOneNetProductUpdateThingModelAsyncData, PostOneNetProductUpdateThingModelAsyncError, PostOneNetProductUpdateThingModelAsyncResponse, PostOneNetProductListAsyncData, PostOneNetProductListAsyncError, PostOneNetProductListAsyncResponse, PostOneNetProductOneNetDataFlowConfigData, PostOneNetProductOneNetDataFlowConfigError, PostOneNetProductOneNetDataFlowConfigResponse, PostOneNetServiceReceivePlaintextDataChangeData, PostOneNetServiceReceivePlaintextDataChangeError, PostOneNetServiceReceivePlaintextDataChangeResponse, GetOneNetServiceReceivePlaintextDataChangeData, GetOneNetServiceReceivePlaintextDataChangeError, GetOneNetServiceReceivePlaintextDataChangeResponse, PostOneNetServiceReceiveCiphertextDataChangeData, PostOneNetServiceReceiveCiphertextDataChangeError, PostOneNetServiceReceiveCiphertextDataChangeResponse, GetOneNetServiceReceiveCiphertextDataChangeData, GetOneNetServiceReceiveCiphertextDataChangeError, GetOneNetServiceReceiveCiphertextDataChangeResponse, GetOneNetServiceCheckLocalMemroyData, GetOneNetServiceCheckLocalMemroyError, GetOneNetServiceCheckLocalMemroyResponse, PostDataServerReceiveEmqxDataError, PostDataServerReceiveEmqxDataResponse, PostOrganizationUnitsTreeError, PostOrganizationUnitsTreeResponse, PostOrganizationUnitsCreateData, PostOrganizationUnitsCreateError, PostOrganizationUnitsCreateResponse, PostOrganizationUnitsDeleteData, PostOrganizationUnitsDeleteError, PostOrganizationUnitsDeleteResponse, PostOrganizationUnitsUpdateData, PostOrganizationUnitsUpdateError, PostOrganizationUnitsUpdateResponse, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncData, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncError, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncResponse, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncData, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncError, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncResponse, PostOrganizationUnitsAddUserToOrganizationUnitData, PostOrganizationUnitsAddUserToOrganizationUnitError, PostOrganizationUnitsAddUserToOrganizationUnitResponse, PostOrganizationUnitsRemoveUserFromOrganizationUnitData, PostOrganizationUnitsRemoveUserFromOrganizationUnitError, PostOrganizationUnitsRemoveUserFromOrganizationUnitResponse, PostOrganizationUnitsGetUsersData, PostOrganizationUnitsGetUsersError, PostOrganizationUnitsGetUsersResponse, PostOrganizationUnitsGetRolesData, PostOrganizationUnitsGetRolesError, PostOrganizationUnitsGetRolesResponse, PostOrganizationUnitsGetUnAddUsersData, PostOrganizationUnitsGetUnAddUsersError, PostOrganizationUnitsGetUnAddUsersResponse, PostOrganizationUnitsGetUnAddRolesData, PostOrganizationUnitsGetUnAddRolesError, PostOrganizationUnitsGetUnAddRolesResponse, PostPermissionsTreeData, PostPermissionsTreeError, PostPermissionsTreeResponse, PostPermissionsUpdateData, PostPermissionsUpdateError, PostPermissionsUpdateResponse, PostRolesAllError, PostRolesAllResponse, PostRolesPageData, PostRolesPageError, PostRolesPageResponse, PostRolesCreateData, PostRolesCreateError, PostRolesCreateResponse, PostRolesUpdateData, PostRolesUpdateError, PostRolesUpdateResponse, PostRolesDeleteData, PostRolesDeleteError, PostRolesDeleteResponse, GetApiAppAbpProBasicApplicationConfigurationError, GetApiAppAbpProBasicApplicationConfigurationResponse, PostSettingsAllError, PostSettingsAllResponse, PostSettingsUpdateData, PostSettingsUpdateError, PostSettingsUpdateResponse, PostTableModelPacketInfoPageData, PostTableModelPacketInfoPageError, PostTableModelPacketInfoPageResponse, PostTableModelDeviceDataInfoPageData, PostTableModelDeviceDataInfoPageError, PostTableModelDeviceDataInfoPageResponse, PostTableModelCtWingLogInfoData, PostTableModelCtWingLogInfoError, PostTableModelCtWingLogInfoResponse, PostTableModelOneNetLogInfoData, PostTableModelOneNetLogInfoError, PostTableModelOneNetLogInfoResponse, PostTenantsFindData, PostTenantsFindError, PostTenantsFindResponse, PostTenantsPageData, PostTenantsPageError, PostTenantsPageResponse, PostTenantsCreateData, PostTenantsCreateError, PostTenantsCreateResponse, PostTenantsUpdateData, PostTenantsUpdateError, PostTenantsUpdateResponse, PostTenantsDeleteData, PostTenantsDeleteError, PostTenantsDeleteResponse, PostTenantsPageConnectionStringData, PostTenantsPageConnectionStringError, PostTenantsPageConnectionStringResponse, PostTenantsAddOrUpdateConnectionStringData, PostTenantsAddOrUpdateConnectionStringError, PostTenantsAddOrUpdateConnectionStringResponse, PostTenantsDeleteConnectionStringData, PostTenantsDeleteConnectionStringError, PostTenantsDeleteConnectionStringResponse, PostTextTemplatesPageData, PostTextTemplatesPageError, PostTextTemplatesPageResponse, PostTextTemplatesCreateData, PostTextTemplatesCreateError, PostTextTemplatesCreateResponse, PostTextTemplatesUpdateData, PostTextTemplatesUpdateError, PostTextTemplatesUpdateResponse, PostTextTemplatesDeleteData, PostTextTemplatesDeleteError, PostTextTemplatesDeleteResponse, PostTextTemplatesExportData, PostTextTemplatesExportError, PostTextTemplatesExportResponse, PostTreeModelDeviceDataInfoPageData, PostTreeModelDeviceDataInfoPageError, PostTreeModelDeviceDataInfoPageResponse, PostUsersPageData, PostUsersPageError, PostUsersPageResponse, PostUsersListData, PostUsersListError, PostUsersListResponse, PostUsersExportData, PostUsersExportError, PostUsersExportResponse, PostUsersCreateData, PostUsersCreateError, PostUsersCreateResponse, PostUsersUpdateData, PostUsersUpdateError, PostUsersUpdateResponse, PostUsersDeleteData, PostUsersDeleteError, PostUsersDeleteResponse, PostUsersRoleData, PostUsersRoleError, PostUsersRoleResponse, PostUsersChangePasswordData, PostUsersChangePasswordError, PostUsersChangePasswordResponse, PostUsersResetPasswordData, PostUsersResetPasswordError, PostUsersResetPasswordResponse, PostUsersLockData, PostUsersLockError, PostUsersLockResponse, PostUsersFindByUserNameData, PostUsersFindByUserNameError, PostUsersFindByUserNameResponse, PostUsersMyProfileError, PostUsersMyProfileResponse, PostUsersCanUseTwoFactorError, PostUsersCanUseTwoFactorResponse, PostUsersGetQrCodeError, PostUsersGetQrCodeResponse, PostUsersEnabledTwoFactorData, PostUsersEnabledTwoFactorError, PostUsersEnabledTwoFactorResponse, PostUsersDisabledTwoFactorData, PostUsersDisabledTwoFactorError, PostUsersDisabledTwoFactorResponse, PostUsersResetTwoFactorData, PostUsersResetTwoFactorError, PostUsersResetTwoFactorResponse, PostUsersNeedChangePasswordError, PostUsersNeedChangePasswordResponse, PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncData, PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncError, PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncResponse, PostAggregationWorkshopGetProductListAsyncData, PostAggregationWorkshopGetProductListAsyncError, PostAggregationWorkshopGetProductListAsyncResponse } from './types.gen'; +import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionError, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationError, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationError, GetApiAbpApplicationLocalizationResponse, PostApiAppAccountLoginData, PostApiAppAccountLoginError, PostApiAppAccountLoginResponse, PostApiAppAccountLogin2FaData, PostApiAppAccountLogin2FaError, PostApiAppAccountLogin2FaResponse, PostApiAppAccountLoginOidcData, PostApiAppAccountLoginOidcError, PostApiAppAccountLoginOidcResponse, PostApiAppAccountRefreshTokenData, PostApiAppAccountRefreshTokenError, PostApiAppAccountRefreshTokenResponse, PostApiAppAccountLogoutError, PostApiAppAccountLogoutResponse, PostAuditLogsPageData, PostAuditLogsPageError, PostAuditLogsPageResponse, PostAggregationBusinessReceiveSetCommandInfoAsyncData, PostAggregationBusinessReceiveSetCommandInfoAsyncError, PostAggregationBusinessReceiveSetCommandInfoAsyncResponse, PostAggregationBusinessBatchQueryDeviceDataInfoAsyncData, PostAggregationBusinessBatchQueryDeviceDataInfoAsyncError, PostAggregationBusinessBatchQueryDeviceDataInfoAsyncResponse, PostAggregationBusinessQueryDeviceDataInfoAsyncData, PostAggregationBusinessQueryDeviceDataInfoAsyncError, PostAggregationBusinessQueryDeviceDataInfoAsyncResponse, PostAggregationBusinessBatchCreateDeviceInfoAsyncData, PostAggregationBusinessBatchCreateDeviceInfoAsyncError, PostAggregationBusinessBatchCreateDeviceInfoAsyncResponse, PostAggregationBusinessReceiveGetCommandInfoAsyncData, PostAggregationBusinessReceiveGetCommandInfoAsyncError, PostAggregationBusinessReceiveGetCommandInfoAsyncResponse, GetCommonGetSelectListData, GetCommonGetSelectListError, GetCommonGetSelectListResponse, PostCtWingAccountInsertAsyncData, PostCtWingAccountInsertAsyncError, PostCtWingAccountInsertAsyncResponse, PostCtWingAccountModifyAsyncData, PostCtWingAccountModifyAsyncError, PostCtWingAccountModifyAsyncResponse, PostCtWingAccountDeleteAsyncData, PostCtWingAccountDeleteAsyncError, PostCtWingAccountDeleteAsyncResponse, PostCtWingAccountListAsyncData, PostCtWingAccountListAsyncError, PostCtWingAccountListAsyncResponse, PostCtWingProductInsertAsyncData, PostCtWingProductInsertAsyncError, PostCtWingProductInsertAsyncResponse, PostCtWingProductModifyAsyncData, PostCtWingProductModifyAsyncError, PostCtWingProductModifyAsyncResponse, PostCtWingProductDeleteAsyncData, PostCtWingProductDeleteAsyncError, PostCtWingProductDeleteAsyncResponse, PostCtWingProductGetAsyncData, PostCtWingProductGetAsyncError, PostCtWingProductGetAsyncResponse, PostCtWingProductProductStatusChangeAsyncData, PostCtWingProductProductStatusChangeAsyncError, PostCtWingProductProductStatusChangeAsyncResponse, PostCtWingProductListAsyncData, PostCtWingProductListAsyncError, PostCtWingProductListAsyncResponse, PostCtWingServiceReceiveStatusChangeError, PostCtWingServiceReceiveStatusChangeResponse, PostCtWingServiceReceiveDataChangeError, PostCtWingServiceReceiveDataChangeResponse, PostCtWingServiceReceiveCommandChangeError, PostCtWingServiceReceiveCommandChangeResponse, PostCtWingServiceReceiveEventChangeError, PostCtWingServiceReceiveEventChangeResponse, PostCtWingServiceReceiveDeviceChangeError, PostCtWingServiceReceiveDeviceChangeResponse, PostDataDictionaryPageData, PostDataDictionaryPageError, PostDataDictionaryPageResponse, PostDataDictionaryPageDetailData, PostDataDictionaryPageDetailError, PostDataDictionaryPageDetailResponse, PostDataDictionarySelectDetailData, PostDataDictionarySelectDetailError, PostDataDictionarySelectDetailResponse, PostDataDictionaryCreateData, PostDataDictionaryCreateError, PostDataDictionaryCreateResponse, PostDataDictionaryCreateDetailData, PostDataDictionaryCreateDetailError, PostDataDictionaryCreateDetailResponse, PostDataDictionaryStatusData, PostDataDictionaryStatusError, PostDataDictionaryStatusResponse, PostDataDictionaryUpdateDetailData, PostDataDictionaryUpdateDetailError, PostDataDictionaryUpdateDetailResponse, PostDataDictionaryDeleteData, PostDataDictionaryDeleteError, PostDataDictionaryDeleteResponse, PostDataDictionaryDeleteDataDictionaryTypeData, PostDataDictionaryDeleteDataDictionaryTypeError, PostDataDictionaryDeleteDataDictionaryTypeResponse, PostDataDictionaryUpdateData, PostDataDictionaryUpdateError, PostDataDictionaryUpdateResponse, PostAggregationDeviceCreateAsyncData, PostAggregationDeviceCreateAsyncError, PostAggregationDeviceCreateAsyncResponse, PostAggregationDeviceBatchCreateAsyncData, PostAggregationDeviceBatchCreateAsyncError, PostAggregationDeviceBatchCreateAsyncResponse, PostAggregationDeviceDeleteAsyncData, PostAggregationDeviceDeleteAsyncError, PostAggregationDeviceDeleteAsyncResponse, PostAggregationDeviceFindByIdAsyncData, PostAggregationDeviceFindByIdAsyncError, PostAggregationDeviceFindByIdAsyncResponse, PostAggregationDeviceRepushDeviceInfoToIoTplatformData, PostAggregationDeviceRepushDeviceInfoToIoTplatformError, PostAggregationDeviceRepushDeviceInfoToIoTplatformResponse, PostAggregationDeviceDeviceCommandForApiAsyncData, PostAggregationDeviceDeviceCommandForApiAsyncError, PostAggregationDeviceDeviceCommandForApiAsyncResponse, PostAggregationDeviceGetDevicePropertyValueForApiAsyncData, PostAggregationDeviceGetDevicePropertyValueForApiAsyncError, PostAggregationDeviceGetDevicePropertyValueForApiAsyncResponse, PostAggregationDeviceDeviceUpgradeForApiAsyncData, PostAggregationDeviceDeviceUpgradeForApiAsyncError, PostAggregationDeviceDeviceUpgradeForApiAsyncResponse, PostAggregationDeviceDeviceBatchUpgradeForApiAsyncData, PostAggregationDeviceDeviceBatchUpgradeForApiAsyncError, PostAggregationDeviceDeviceBatchUpgradeForApiAsyncResponse, PostAggregationDeviceDownloadFirmwareData, PostAggregationDeviceDownloadFirmwareError, PostAggregationDeviceDownloadFirmwareResponse, GetAggregationDeviceDownloadFirmwareData, GetAggregationDeviceDownloadFirmwareError, GetAggregationDeviceDownloadFirmwareResponse, PostAggregationDeviceBindingDeviceThingModelData, PostAggregationDeviceBindingDeviceThingModelError, PostAggregationDeviceBindingDeviceThingModelResponse, PostAggregationDeviceCallDeviceServiceForApiAsyncData, PostAggregationDeviceCallDeviceServiceForApiAsyncError, PostAggregationDeviceCallDeviceServiceForApiAsyncResponse, PostAggregationDeviceDeviceMasterSwitchForApiAsyncData, PostAggregationDeviceDeviceMasterSwitchForApiAsyncError, PostAggregationDeviceDeviceMasterSwitchForApiAsyncResponse, PostFirmwareInfoCreateAsyncData, PostFirmwareInfoCreateAsyncError, PostFirmwareInfoCreateAsyncResponse, PostFirmwareInfoUpdateAsyncData, PostFirmwareInfoUpdateAsyncError, PostFirmwareInfoUpdateAsyncResponse, PostFirmwareInfoDeleteAsyncData, PostFirmwareInfoDeleteAsyncError, PostFirmwareInfoDeleteAsyncResponse, PostFirmwareInfoFindByIdAsyncData, PostFirmwareInfoFindByIdAsyncError, PostFirmwareInfoFindByIdAsyncResponse, PostFirmwareInfoUpdateStatusByIdAsyncData, PostFirmwareInfoUpdateStatusByIdAsyncError, PostFirmwareInfoUpdateStatusByIdAsyncResponse, PostFirmwareInfoFindByDeviceProductIdAsyncData, PostFirmwareInfoFindByDeviceProductIdAsyncError, PostFirmwareInfoFindByDeviceProductIdAsyncResponse, PostFirmwareInfoPageData, PostFirmwareInfoPageError, PostFirmwareInfoPageResponse, PostDeviceInfoFindByDeviceAddressData, PostDeviceInfoFindByDeviceAddressError, PostDeviceInfoFindByDeviceAddressResponse, PostDeviceInfoPageData, PostDeviceInfoPageError, PostDeviceInfoPageResponse, PostDeviceInfoCacheDeviceDataToRedisError, PostDeviceInfoCacheDeviceDataToRedisResponse, PostDeviceInfoMqttDeviceLoginData, PostDeviceInfoMqttDeviceLoginError, PostDeviceInfoMqttDeviceLoginResponse, PostDeviceThingModelManagementCreateAsyncData, PostDeviceThingModelManagementCreateAsyncError, PostDeviceThingModelManagementCreateAsyncResponse, PostDeviceThingModelManagementUpdateAsyncData, PostDeviceThingModelManagementUpdateAsyncError, PostDeviceThingModelManagementUpdateAsyncResponse, PostDeviceThingModelManagementDeleteAsyncData, PostDeviceThingModelManagementDeleteAsyncError, PostDeviceThingModelManagementDeleteAsyncResponse, PostDeviceThingModelManagementFindByIdAsyncData, PostDeviceThingModelManagementFindByIdAsyncError, PostDeviceThingModelManagementFindByIdAsyncResponse, PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncData, PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncError, PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncResponse, PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncData, PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncError, PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncResponse, PostDeviceThingModelManagementBuildAnalysisScriptAsyncData, PostDeviceThingModelManagementBuildAnalysisScriptAsyncError, PostDeviceThingModelManagementBuildAnalysisScriptAsyncResponse, PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncData, PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncError, PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncResponse, PostDeviceThingModelManagementMessageAnalysisTestAsyncData, PostDeviceThingModelManagementMessageAnalysisTestAsyncError, PostDeviceThingModelManagementMessageAnalysisTestAsyncResponse, PostDeviceThingModelManagementFindByPlatformProductIdAsyncData, PostDeviceThingModelManagementFindByPlatformProductIdAsyncError, PostDeviceThingModelManagementFindByPlatformProductIdAsyncResponse, PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncData, PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncError, PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncResponse, PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncData, PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncError, PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncResponse, PostDeviceThingModelManagementPageAsyncData, PostDeviceThingModelManagementPageAsyncError, PostDeviceThingModelManagementPageAsyncResponse, PostDeviceThingModelManagementPropertyCreateAsyncData, PostDeviceThingModelManagementPropertyCreateAsyncError, PostDeviceThingModelManagementPropertyCreateAsyncResponse, PostDeviceThingModelManagementPropertyUpdateAsyncData, PostDeviceThingModelManagementPropertyUpdateAsyncError, PostDeviceThingModelManagementPropertyUpdateAsyncResponse, PostDeviceThingModelManagementPropertyDeleteAsyncData, PostDeviceThingModelManagementPropertyDeleteAsyncError, PostDeviceThingModelManagementPropertyDeleteAsyncResponse, PostDeviceThingModelManagementPropertyFindByIdAsyncData, PostDeviceThingModelManagementPropertyFindByIdAsyncError, PostDeviceThingModelManagementPropertyFindByIdAsyncResponse, PostDeviceThingModelManagementPropertyPageAsyncData, PostDeviceThingModelManagementPropertyPageAsyncError, PostDeviceThingModelManagementPropertyPageAsyncResponse, PostDeviceThingModelManagementCommandCreateAsyncData, PostDeviceThingModelManagementCommandCreateAsyncError, PostDeviceThingModelManagementCommandCreateAsyncResponse, PostDeviceThingModelManagementCommandUpdateAsyncData, PostDeviceThingModelManagementCommandUpdateAsyncError, PostDeviceThingModelManagementCommandUpdateAsyncResponse, PostDeviceThingModelManagementCommandDeleteAsyncData, PostDeviceThingModelManagementCommandDeleteAsyncError, PostDeviceThingModelManagementCommandDeleteAsyncResponse, PostDeviceThingModelManagementCommandFindByIdAsyncData, PostDeviceThingModelManagementCommandFindByIdAsyncError, PostDeviceThingModelManagementCommandFindByIdAsyncResponse, PostDeviceThingModelManagementUpdateCommandStatusByIdAsyncData, PostDeviceThingModelManagementUpdateCommandStatusByIdAsyncError, PostDeviceThingModelManagementUpdateCommandStatusByIdAsyncResponse, PostDeviceThingModelManagementCommandPageAsyncData, PostDeviceThingModelManagementCommandPageAsyncError, PostDeviceThingModelManagementCommandPageAsyncResponse, PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncData, PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncError, PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncResponse, PostDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsyncError, PostDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsyncResponse, PostUpgradeRecordUpdateStatusAsyncData, PostUpgradeRecordUpdateStatusAsyncError, PostUpgradeRecordUpdateStatusAsyncResponse, PostUpgradeRecordBatchUpdateStatusAsyncData, PostUpgradeRecordBatchUpdateStatusAsyncError, PostUpgradeRecordBatchUpdateStatusAsyncResponse, PostUpgradeRecordDeleteAsyncData, PostUpgradeRecordDeleteAsyncError, PostUpgradeRecordDeleteAsyncResponse, PostUpgradeRecordPageData, PostUpgradeRecordPageError, PostUpgradeRecordPageResponse, PostFeaturesListData, PostFeaturesListError, PostFeaturesListResponse, PostFeaturesUpdateData, PostFeaturesUpdateError, PostFeaturesUpdateResponse, PostFeaturesDeleteData, PostFeaturesDeleteError, PostFeaturesDeleteResponse, PostFilesPageData, PostFilesPageError, PostFilesPageResponse, PostFilesUploadData, PostFilesUploadError, PostFilesUploadResponse, PostFilesDeleteData, PostFilesDeleteError, PostFilesDeleteResponse, PostFilesDownloadData, PostFilesDownloadError, PostFilesDownloadResponse, PostIdentitySecurityLogsPageData, PostIdentitySecurityLogsPageError, PostIdentitySecurityLogsPageResponse, PostAggregationIoTplatformGetIoTplatformProductInfoAsyncData, PostAggregationIoTplatformGetIoTplatformProductInfoAsyncError, PostAggregationIoTplatformGetIoTplatformProductInfoAsyncResponse, PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncData, PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncError, PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncResponse, PostAggregationIoTplatformGetIoTplatformProductThingModelInfoAsyncData, PostAggregationIoTplatformGetIoTplatformProductThingModelInfoAsyncError, PostAggregationIoTplatformGetIoTplatformProductThingModelInfoAsyncResponse, PostAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsyncData, PostAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsyncError, PostAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsyncResponse, PostAggregationIoTplatformIoTplatformDataLogReHandlerAsyncData, PostAggregationIoTplatformIoTplatformDataLogReHandlerAsyncError, PostAggregationIoTplatformIoTplatformDataLogReHandlerAsyncResponse, PostIoTplatformThingModelInfoCreateAsyncData, PostIoTplatformThingModelInfoCreateAsyncError, PostIoTplatformThingModelInfoCreateAsyncResponse, PostIoTplatformThingModelInfoUpdateAsyncData, PostIoTplatformThingModelInfoUpdateAsyncError, PostIoTplatformThingModelInfoUpdateAsyncResponse, PostIoTplatformThingModelInfoDeleteAsyncData, PostIoTplatformThingModelInfoDeleteAsyncError, PostIoTplatformThingModelInfoDeleteAsyncResponse, PostIoTplatformThingModelInfoFindByIdAsyncData, PostIoTplatformThingModelInfoFindByIdAsyncError, PostIoTplatformThingModelInfoFindByIdAsyncResponse, PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncData, PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncError, PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncResponse, PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncData, PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncError, PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncResponse, PostIoTplatformThingModelInfoCopyStandardThingModelData, PostIoTplatformThingModelInfoCopyStandardThingModelError, PostIoTplatformThingModelInfoCopyStandardThingModelResponse, PostIoTplatformThingModelInfoPageAsyncData, PostIoTplatformThingModelInfoPageAsyncError, PostIoTplatformThingModelInfoPageAsyncResponse, PostIoTplatformThingModelInfoGetAllPlatformThingModelAsyncError, PostIoTplatformThingModelInfoGetAllPlatformThingModelAsyncResponse, PostIoTplatformThingModelInfoStandardThingModelPageAsyncError, PostIoTplatformThingModelInfoStandardThingModelPageAsyncResponse, PostIoTplatformThingModelInfoUpdateOperableIdentifierData, PostIoTplatformThingModelInfoUpdateOperableIdentifierError, PostIoTplatformThingModelInfoUpdateOperableIdentifierResponse, PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceData, PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceError, PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceResponse, PostIoTplatformThingModelInfoCreateIoTplatformThingModelCommandData, PostIoTplatformThingModelInfoCreateIoTplatformThingModelCommandError, PostIoTplatformThingModelInfoCreateIoTplatformThingModelCommandResponse, PostLanguagesAllError, PostLanguagesAllResponse, PostLanguagesPageData, PostLanguagesPageError, PostLanguagesPageResponse, PostLanguagesCreateData, PostLanguagesCreateError, PostLanguagesCreateResponse, PostLanguagesUpdateData, PostLanguagesUpdateError, PostLanguagesUpdateResponse, PostLanguagesDeleteData, PostLanguagesDeleteError, PostLanguagesDeleteResponse, PostLanguagesSetDefaultData, PostLanguagesSetDefaultError, PostLanguagesSetDefaultResponse, PostLanguageTextsAllResourceError, PostLanguageTextsAllResourceResponse, PostLanguageTextsPageData, PostLanguageTextsPageError, PostLanguageTextsPageResponse, PostLanguageTextsCreateData, PostLanguageTextsCreateError, PostLanguageTextsCreateResponse, PostLanguageTextsUpdateData, PostLanguageTextsUpdateError, PostLanguageTextsUpdateResponse, PostMenusUserMenuError, PostMenusUserMenuResponse, PostMenusPageData, PostMenusPageError, PostMenusPageResponse, PostMenusCreateData, PostMenusCreateError, PostMenusCreateResponse, PostMenusUpdateData, PostMenusUpdateError, PostMenusUpdateResponse, PostMenusDeleteData, PostMenusDeleteError, PostMenusDeleteResponse, PostMenusTreeError, PostMenusTreeResponse, PostNotificationNotificationPageData, PostNotificationNotificationPageError, PostNotificationNotificationPageResponse, PostNotificationNotificationSubscriptionPageData, PostNotificationNotificationSubscriptionPageError, PostNotificationNotificationSubscriptionPageResponse, PostNotificationDeleteData, PostNotificationDeleteError, PostNotificationDeleteResponse, PostNotificationSendCommonWarningMessageData, PostNotificationSendCommonWarningMessageError, PostNotificationSendCommonWarningMessageResponse, PostNotificationSendCommonInformationMessageData, PostNotificationSendCommonInformationMessageError, PostNotificationSendCommonInformationMessageResponse, PostNotificationSendCommonErrorMessageData, PostNotificationSendCommonErrorMessageError, PostNotificationSendCommonErrorMessageResponse, PostNotificationSendBroadCastWarningMessageData, PostNotificationSendBroadCastWarningMessageError, PostNotificationSendBroadCastWarningMessageResponse, PostNotificationSendBroadCastInformationMessageData, PostNotificationSendBroadCastInformationMessageError, PostNotificationSendBroadCastInformationMessageResponse, PostNotificationSendBroadCastErrorMessageData, PostNotificationSendBroadCastErrorMessageError, PostNotificationSendBroadCastErrorMessageResponse, PostNotificationReadData, PostNotificationReadError, PostNotificationReadResponse, PostNotificationBatchReadData, PostNotificationBatchReadError, PostNotificationBatchReadResponse, PostOneNetAccountInsertAsyncData, PostOneNetAccountInsertAsyncError, PostOneNetAccountInsertAsyncResponse, PostOneNetAccountModifyAsyncData, PostOneNetAccountModifyAsyncError, PostOneNetAccountModifyAsyncResponse, PostOneNetAccountDeleteAsyncData, PostOneNetAccountDeleteAsyncError, PostOneNetAccountDeleteAsyncResponse, PostOneNetAccountListAsyncData, PostOneNetAccountListAsyncError, PostOneNetAccountListAsyncResponse, PostOneNetProductInsertAsyncData, PostOneNetProductInsertAsyncError, PostOneNetProductInsertAsyncResponse, PostOneNetProductModifyAsyncData, PostOneNetProductModifyAsyncError, PostOneNetProductModifyAsyncResponse, PostOneNetProductDeleteAsyncData, PostOneNetProductDeleteAsyncError, PostOneNetProductDeleteAsyncResponse, PostOneNetProductGetAsyncData, PostOneNetProductGetAsyncError, PostOneNetProductGetAsyncResponse, PostOneNetProductProductStatusChangeAsyncData, PostOneNetProductProductStatusChangeAsyncError, PostOneNetProductProductStatusChangeAsyncResponse, PostOneNetProductUpdateThingModelAsyncData, PostOneNetProductUpdateThingModelAsyncError, PostOneNetProductUpdateThingModelAsyncResponse, PostOneNetProductListAsyncData, PostOneNetProductListAsyncError, PostOneNetProductListAsyncResponse, PostOneNetProductOneNetDataFlowConfigData, PostOneNetProductOneNetDataFlowConfigError, PostOneNetProductOneNetDataFlowConfigResponse, PostOneNetServiceReceivePlaintextDataChangeData, PostOneNetServiceReceivePlaintextDataChangeError, PostOneNetServiceReceivePlaintextDataChangeResponse, GetOneNetServiceReceivePlaintextDataChangeData, GetOneNetServiceReceivePlaintextDataChangeError, GetOneNetServiceReceivePlaintextDataChangeResponse, PostOneNetServiceReceiveCiphertextDataChangeData, PostOneNetServiceReceiveCiphertextDataChangeError, PostOneNetServiceReceiveCiphertextDataChangeResponse, GetOneNetServiceReceiveCiphertextDataChangeData, GetOneNetServiceReceiveCiphertextDataChangeError, GetOneNetServiceReceiveCiphertextDataChangeResponse, GetOneNetServiceCheckLocalMemroyData, GetOneNetServiceCheckLocalMemroyError, GetOneNetServiceCheckLocalMemroyResponse, PostDataServerReceiveEmqxDataError, PostDataServerReceiveEmqxDataResponse, PostOrganizationUnitsTreeError, PostOrganizationUnitsTreeResponse, PostOrganizationUnitsCreateData, PostOrganizationUnitsCreateError, PostOrganizationUnitsCreateResponse, PostOrganizationUnitsDeleteData, PostOrganizationUnitsDeleteError, PostOrganizationUnitsDeleteResponse, PostOrganizationUnitsUpdateData, PostOrganizationUnitsUpdateError, PostOrganizationUnitsUpdateResponse, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncData, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncError, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncResponse, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncData, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncError, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncResponse, PostOrganizationUnitsAddUserToOrganizationUnitData, PostOrganizationUnitsAddUserToOrganizationUnitError, PostOrganizationUnitsAddUserToOrganizationUnitResponse, PostOrganizationUnitsRemoveUserFromOrganizationUnitData, PostOrganizationUnitsRemoveUserFromOrganizationUnitError, PostOrganizationUnitsRemoveUserFromOrganizationUnitResponse, PostOrganizationUnitsGetUsersData, PostOrganizationUnitsGetUsersError, PostOrganizationUnitsGetUsersResponse, PostOrganizationUnitsGetRolesData, PostOrganizationUnitsGetRolesError, PostOrganizationUnitsGetRolesResponse, PostOrganizationUnitsGetUnAddUsersData, PostOrganizationUnitsGetUnAddUsersError, PostOrganizationUnitsGetUnAddUsersResponse, PostOrganizationUnitsGetUnAddRolesData, PostOrganizationUnitsGetUnAddRolesError, PostOrganizationUnitsGetUnAddRolesResponse, PostPermissionsTreeData, PostPermissionsTreeError, PostPermissionsTreeResponse, PostPermissionsUpdateData, PostPermissionsUpdateError, PostPermissionsUpdateResponse, PostRolesAllError, PostRolesAllResponse, PostRolesPageData, PostRolesPageError, PostRolesPageResponse, PostRolesCreateData, PostRolesCreateError, PostRolesCreateResponse, PostRolesUpdateData, PostRolesUpdateError, PostRolesUpdateResponse, PostRolesDeleteData, PostRolesDeleteError, PostRolesDeleteResponse, GetApiAppAbpProBasicApplicationConfigurationError, GetApiAppAbpProBasicApplicationConfigurationResponse, PostSettingsAllError, PostSettingsAllResponse, PostSettingsUpdateData, PostSettingsUpdateError, PostSettingsUpdateResponse, PostTableModelPacketInfoPageData, PostTableModelPacketInfoPageError, PostTableModelPacketInfoPageResponse, PostTableModelDeviceDataInfoPageData, PostTableModelDeviceDataInfoPageError, PostTableModelDeviceDataInfoPageResponse, PostTableModelCtWingLogInfoData, PostTableModelCtWingLogInfoError, PostTableModelCtWingLogInfoResponse, PostTableModelOneNetLogInfoData, PostTableModelOneNetLogInfoError, PostTableModelOneNetLogInfoResponse, PostTenantsFindData, PostTenantsFindError, PostTenantsFindResponse, PostTenantsPageData, PostTenantsPageError, PostTenantsPageResponse, PostTenantsCreateData, PostTenantsCreateError, PostTenantsCreateResponse, PostTenantsUpdateData, PostTenantsUpdateError, PostTenantsUpdateResponse, PostTenantsDeleteData, PostTenantsDeleteError, PostTenantsDeleteResponse, PostTenantsPageConnectionStringData, PostTenantsPageConnectionStringError, PostTenantsPageConnectionStringResponse, PostTenantsAddOrUpdateConnectionStringData, PostTenantsAddOrUpdateConnectionStringError, PostTenantsAddOrUpdateConnectionStringResponse, PostTenantsDeleteConnectionStringData, PostTenantsDeleteConnectionStringError, PostTenantsDeleteConnectionStringResponse, PostTextTemplatesPageData, PostTextTemplatesPageError, PostTextTemplatesPageResponse, PostTextTemplatesCreateData, PostTextTemplatesCreateError, PostTextTemplatesCreateResponse, PostTextTemplatesUpdateData, PostTextTemplatesUpdateError, PostTextTemplatesUpdateResponse, PostTextTemplatesDeleteData, PostTextTemplatesDeleteError, PostTextTemplatesDeleteResponse, PostTextTemplatesExportData, PostTextTemplatesExportError, PostTextTemplatesExportResponse, PostTreeModelDeviceDataInfoPageData, PostTreeModelDeviceDataInfoPageError, PostTreeModelDeviceDataInfoPageResponse, PostUsersPageData, PostUsersPageError, PostUsersPageResponse, PostUsersListData, PostUsersListError, PostUsersListResponse, PostUsersExportData, PostUsersExportError, PostUsersExportResponse, PostUsersCreateData, PostUsersCreateError, PostUsersCreateResponse, PostUsersUpdateData, PostUsersUpdateError, PostUsersUpdateResponse, PostUsersDeleteData, PostUsersDeleteError, PostUsersDeleteResponse, PostUsersRoleData, PostUsersRoleError, PostUsersRoleResponse, PostUsersChangePasswordData, PostUsersChangePasswordError, PostUsersChangePasswordResponse, PostUsersResetPasswordData, PostUsersResetPasswordError, PostUsersResetPasswordResponse, PostUsersLockData, PostUsersLockError, PostUsersLockResponse, PostUsersFindByUserNameData, PostUsersFindByUserNameError, PostUsersFindByUserNameResponse, PostUsersMyProfileError, PostUsersMyProfileResponse, PostUsersCanUseTwoFactorError, PostUsersCanUseTwoFactorResponse, PostUsersGetQrCodeError, PostUsersGetQrCodeResponse, PostUsersEnabledTwoFactorData, PostUsersEnabledTwoFactorError, PostUsersEnabledTwoFactorResponse, PostUsersDisabledTwoFactorData, PostUsersDisabledTwoFactorError, PostUsersDisabledTwoFactorResponse, PostUsersResetTwoFactorData, PostUsersResetTwoFactorError, PostUsersResetTwoFactorResponse, PostUsersNeedChangePasswordError, PostUsersNeedChangePasswordResponse, PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncData, PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncError, PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncResponse, PostAggregationWorkshopGetProductListAsyncData, PostAggregationWorkshopGetProductListAsyncError, PostAggregationWorkshopGetProductListAsyncResponse } from './types.gen'; export const client = createClient(createConfig()); @@ -137,7 +137,7 @@ export const postAggregationBusinessReceiveGetCommandInfoAsync = (options?: Options) => { return (options?.client ?? client).get({ @@ -1189,6 +1189,16 @@ export const postIoTplatformThingModelInfoGetIoTplatformThingModelService = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/IoTPlatformThingModelInfo/CreateIoTPlatformThingModelCommand' + }); +}; + export const postLanguagesAll = (options?: Options) => { return (options?.client ?? client).post({ ...options, diff --git a/apps/web-antd/src/api-client/types.gen.ts b/apps/web-antd/src/api-client/types.gen.ts index b825fd5..ce40802 100644 --- a/apps/web-antd/src/api-client/types.gen.ts +++ b/apps/web-antd/src/api-client/types.gen.ts @@ -552,6 +552,24 @@ export type CreateOrganizationUnitInput = { parentId?: (string) | null; }; +/** + * 新增平台端物模型操作指令 + */ +export type CreatePlatformThingModelCommandInput = { + /** + * 平台端物模型数据Id + */ + thingModelDataId: string; + /** + * 待下发的操作指令类型,例如阀控操作时,是拉闸还是合闸,根据StandardFieldName进行分组 + */ + operateType: number; + /** + * 完整透明转发指令 + */ + issueCommand: string; +}; + /** * 创建模板 */ @@ -1731,7 +1749,7 @@ export type DeviceThingModelCommandInfoDto = { /** * 待下发的操作指令类型,,例如阀控操作时,是拉闸还是合闸 */ - operateCommandType?: (number) | null; + operateCommandType?: number; }; export type DeviceThingModelCommandInfoDtoPagedResultDto = { @@ -3286,7 +3304,12 @@ export type IoTPlatformThingModelCreateInput = { * 是否是特殊物模型标识符 */ isSpecialIdentifier?: boolean; - ioTPlatformRawFieldExtension?: JToken; + /** + * 物联网平台中对应产品物模型标识符扩展,用于扩展结构体类型 + */ + ioTPlatformRawFieldExtension?: { + [key: string]: unknown; + } | null; /** * 是否可操作物模型标识符 */ @@ -3296,7 +3319,12 @@ export type IoTPlatformThingModelCreateInput = { */ accessMode?: (string) | null; identifierType?: ThingModelIdentifierTypeEnum; - standardFieldFieldExtension?: JToken; + /** + * 标准物模型字段标识符扩展,数组或者结构体时候的参数或者元素名称集合 + */ + standardFieldFieldExtension?: { + [key: string]: unknown; + } | null; }; /** @@ -3565,7 +3593,12 @@ export type IoTPlatformThingModelUpdateInput = { * 是否是特殊物模型标识符 */ isSpecialIdentifier?: boolean; - ioTPlatformRawFieldExtension?: JToken; + /** + * 物联网平台中对应产品物模型标识符扩展,用于扩展结构体类型 + */ + ioTPlatformRawFieldExtension?: { + [key: string]: unknown; + } | null; /** * 是否可操作物模型标识符 */ @@ -3575,7 +3608,12 @@ export type IoTPlatformThingModelUpdateInput = { */ accessMode?: (string) | null; identifierType?: ThingModelIdentifierTypeEnum; - standardFieldFieldExtension?: JToken; + /** + * 标准物模型字段标识符扩展,数组或者结构体时候的参数或者元素名称集合 + */ + standardFieldFieldExtension?: { + [key: string]: unknown; + } | null; id?: string; }; @@ -3599,8 +3637,6 @@ export type IValueValidator = { } | null; }; -export type JToken = Array; - export type LanguageInfo = { cultureName?: (string) | null; uiCultureName?: (string) | null; @@ -5219,6 +5255,12 @@ export type PagingDataDictionaryDetailOutput = { * 扩展属性 */ extendedAttribute?: (string) | null; + /** + * 扩展属性值 + */ + extendedAttributeValue?: { + [key: string]: unknown; + } | null; /** * 启/停用(默认启用) */ @@ -7736,6 +7778,16 @@ export type PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceResponse export type PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceError = unknown; +export type PostIoTplatformThingModelInfoCreateIoTplatformThingModelCommandData = { + query?: { + input?: CreatePlatformThingModelCommandInput; + }; +}; + +export type PostIoTplatformThingModelInfoCreateIoTplatformThingModelCommandResponse = (IoTPlatformThingModelCommandDto); + +export type PostIoTplatformThingModelInfoCreateIoTplatformThingModelCommandError = unknown; + export type PostLanguagesAllResponse = (Array); export type PostLanguagesAllError = (RemoteServiceErrorResponse); diff --git a/apps/web-antd/src/views/devicemanagement/deviceinfo/index.vue b/apps/web-antd/src/views/devicemanagement/deviceinfo/index.vue index 88c8fc4..30a4559 100644 --- a/apps/web-antd/src/views/devicemanagement/deviceinfo/index.vue +++ b/apps/web-antd/src/views/devicemanagement/deviceinfo/index.vue @@ -337,9 +337,9 @@ const commandTableColumns = computed(() => [ }, }, { - title: '平台物模型属性标识符', - dataIndex: 'ioTPlatformRawFieldName', - key: 'ioTPlatformRawFieldName', + title: '标准物模型属性标识符', + dataIndex: 'standardFieldName', + key: 'standardFieldName', width: 200, }, { @@ -473,6 +473,7 @@ const bindRows: Array> = ref([]); interface ThingModelProperty { id: string; // 物模型属性ID ioTPlatformRawFieldName: string; // 平台原始字段名 + standardFieldName: string; // 标准物模型字段名(标识符) standardFieldDisplayName: string; // 标准字段显示名 commandValue: string; // 指令内容 result: string; // 返回结果 @@ -487,6 +488,10 @@ const thingModelLoading = ref(false); // 筛选关键词 const filterKeyword = ref(''); +// 设备操作统一使用标准物模型标识符作为参数键 +const getPropertyIdentifier = (property: ThingModelProperty) => + (property.standardFieldName || '').trim(); + // 判断是否为数字类型 const isNumericType = (dataType: string | undefined): boolean => { if (!dataType) return false; @@ -559,7 +564,7 @@ const filteredThingModelProperties = computed(() => { return thingModelProperties.value.filter((prop) => { return ( prop.standardFieldDisplayName?.toLowerCase().includes(keyword) || - prop.ioTPlatformRawFieldName?.toLowerCase().includes(keyword) + prop.standardFieldName?.toLowerCase().includes(keyword) ); }); }); @@ -593,6 +598,7 @@ const fetchThingModelProperties = async (row: Record) => { thingModelProperties.value = items.map((item: any) => ({ id: item.id || '', ioTPlatformRawFieldName: item.ioTPlatformRawFieldName || '', + standardFieldName: item.standardFieldName || '', standardFieldDisplayName: item.standardFieldDisplayName || '', commandValue: '', result: '', @@ -626,7 +632,7 @@ const submitBatchCommand = async () => { const selectedProperties = thingModelProperties.value.filter( (prop) => prop.selected && - prop.ioTPlatformRawFieldName && + getPropertyIdentifier(prop) && (prop.accessMode === 'rw' || prop.accessMode === 'w') && // 允许读写模式和只写模式 prop.commandValue && prop.commandValue.trim() !== '', @@ -647,7 +653,10 @@ const submitBatchCommand = async () => { prop.commandValue.trim(), prop.ioTPlatformRawFieldDataType, ); - commandContent[prop.ioTPlatformRawFieldName] = convertedValue; + const identifier = getPropertyIdentifier(prop); + if (identifier) { + commandContent[identifier] = convertedValue; + } }); try { @@ -2023,8 +2032,9 @@ const sendCommand = async (property: ThingModelProperty) => { return; } - if (!property.ioTPlatformRawFieldName) { - Message.warning('该属性缺少平台字段名,无法发送指令'); + const identifier = getPropertyIdentifier(property); + if (!identifier) { + Message.warning('该属性缺少标准物模型标识符,无法发送指令'); return; } @@ -2036,7 +2046,7 @@ const sendCommand = async (property: ThingModelProperty) => { property.commandValue.trim(), property.ioTPlatformRawFieldDataType, ); - commandContent[property.ioTPlatformRawFieldName] = convertedValue; + commandContent[identifier] = convertedValue; const result = await postAggregationDeviceDeviceCommandForApiAsync({ body: { @@ -2075,8 +2085,9 @@ const readData = async (property: ThingModelProperty) => { return; } - if (!property.ioTPlatformRawFieldName) { - Message.warning('该属性缺少平台字段名,无法抄读数据'); + const identifier = getPropertyIdentifier(property); + if (!identifier) { + Message.warning('该属性缺少标准物模型标识符,无法抄读数据'); return; } @@ -2091,16 +2102,14 @@ const readData = async (property: ThingModelProperty) => { { body: { id: String(commandRow.value.id), - propertyList: [property.ioTPlatformRawFieldName], + propertyList: { [identifier]: '' }, }, }, ); if (result.data !== undefined && result.data !== null) { // 返回结果是一个对象,需要根据属性名获取对应的值 - const propertyValue = (result.data as any)[ - property.ioTPlatformRawFieldName - ]; + const propertyValue = (result.data as any)[identifier]; if (propertyValue !== undefined && propertyValue !== null) { property.result = typeof propertyValue === 'string' @@ -2141,7 +2150,7 @@ const submitBatchRead = async () => { // 获取所有选中的行,排除只写模式(w)的属性 const selectedProperties = thingModelProperties.value.filter( (prop) => - prop.selected && prop.ioTPlatformRawFieldName && prop.accessMode !== 'w', // 只写模式不能抄读 + prop.selected && getPropertyIdentifier(prop) && prop.accessMode !== 'w', // 只写模式不能抄读 ); if (selectedProperties.length === 0) { @@ -2155,8 +2164,15 @@ const submitBatchRead = async () => { } // 获取所有选中属性的字段名列表 - const propertyList = selectedProperties.map( - (prop) => prop.ioTPlatformRawFieldName, + const propertyList = selectedProperties.reduce>( + (acc, prop) => { + const identifier = getPropertyIdentifier(prop); + if (identifier) { + acc[identifier] = ''; + } + return acc; + }, + {}, ); try { @@ -2180,9 +2196,10 @@ const submitBatchRead = async () => { if (result.data !== undefined && result.data !== null) { // 更新所有选中行的返回结果 selectedProperties.forEach((prop) => { - const propertyValue = (result.data as any)[ - prop.ioTPlatformRawFieldName - ]; + const identifier = getPropertyIdentifier(prop); + const propertyValue = identifier + ? (result.data as any)[identifier] + : undefined; if (propertyValue !== undefined && propertyValue !== null) { prop.result = typeof propertyValue === 'string' diff --git a/apps/web-antd/src/views/thingmodelinfo/ioTPlatformThingModelInfo/index.vue b/apps/web-antd/src/views/thingmodelinfo/ioTPlatformThingModelInfo/index.vue index 0057fd5..ce51e73 100644 --- a/apps/web-antd/src/views/thingmodelinfo/ioTPlatformThingModelInfo/index.vue +++ b/apps/web-antd/src/views/thingmodelinfo/ioTPlatformThingModelInfo/index.vue @@ -13,6 +13,7 @@ import { useVbenForm } from '#/adapter/form'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; import { getCommonGetSelectList, + postAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsync, postIoTplatformThingModelInfoCopyAnotherThingModelAsync, postIoTplatformThingModelInfoCopyStandardThingModel, postIoTplatformThingModelInfoCreateAsync, @@ -224,6 +225,8 @@ const editRow: Record = ref({}); // 跟踪数据状态,用于控制按钮显示 const hasData = ref(true); +// 模型刷新按钮 loading 状态 +const thingModelRefreshLoading = ref(false); const [ThingModelModal, thingModelModalApi] = useVbenModal({ draggable: true, @@ -522,6 +525,49 @@ onMounted(async () => { }, 300); }); +function normalizeFieldExtensionValue(fieldValue: unknown) { + if (typeof fieldValue !== 'string') { + return fieldValue; + } + const trimmed = fieldValue.trim(); + if (!trimmed) { + return ''; + } + try { + return JSON.parse(trimmed); + } catch { + return fieldValue; + } +} + +function parseJsonFieldValue( + fieldValue: unknown, + fieldLabel: string, +): { ok: boolean; value: unknown } { + if (fieldValue == null || fieldValue === '') { + return { ok: true, value: fieldValue }; + } + + if (typeof fieldValue !== 'string') { + return { ok: true, value: fieldValue }; + } + + const trimmed = fieldValue.trim(); + if (!trimmed) { + return { ok: true, value: '' }; + } + + try { + return { + ok: true, + value: JSON.parse(trimmed), + }; + } catch { + Message.error(`${fieldLabel}必须是合法JSON格式`); + return { ok: false, value: fieldValue }; + } +} + // 新增和编辑提交的逻辑 async function submit() { const isEdit = !!editRow.value.id; @@ -574,6 +620,14 @@ async function submit() { } const formValues = await formApi.getValues(); + const ioTPlatformRawFieldExtensionParsed = parseJsonFieldValue( + formValues.ioTPlatformRawFieldExtension, + '平台物模型值类型扩展', + ); + if (!ioTPlatformRawFieldExtensionParsed.ok) { + return; + } + const fetchParams: any = { ...formValues, // 自动添加平台和产品信息 @@ -588,6 +642,12 @@ async function submit() { }), // 编辑时需要添加ID ...(isEdit && { id: editRow.value.id }), + // 标准物模型扩展参数支持在表单中以 JSON 文本编辑,提交时转回对象 + standardFieldFieldExtension: normalizeFieldExtensionValue( + formValues.standardFieldFieldExtension, + ), + // 平台物模型值类型扩展必须按 JSON 格式传入后台 + ioTPlatformRawFieldExtension: ioTPlatformRawFieldExtensionParsed.value, }; try { @@ -695,6 +755,48 @@ const openAddModal = async () => { }, 100); }; +// 模型刷新 +async function onThingModelRefresh() { + const formValues = gridApi?.formApi ? await gridApi.formApi.getValues() : {}; + const platformValue = formValues.ioTPlatform || ioTPlatform.value; + const productIdValue = formValues.ioTPlatformProductId || productId.value; + + if (!productIdValue) { + Message.error('请选择产品后再刷新模型'); + return; + } + + const ioTPlatformType = Number.parseInt(String(platformValue || ''), 10); + if (Number.isNaN(ioTPlatformType)) { + Message.error('平台类型无效,无法刷新模型'); + return; + } + + thingModelRefreshLoading.value = true; + try { + const resp = + await postAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsync( + { + body: { + ioTPlatformType, + ioTPlatformProductId: String(productIdValue), + }, + }, + ); + if (resp.data) { + Message.success('模型刷新成功'); + await gridApi.reload(); + } else { + Message.error('模型刷新失败'); + } + } catch (error) { + console.error('模型刷新失败:', error); + Message.error('模型刷新失败'); + } finally { + thingModelRefreshLoading.value = false; + } +} + // 打开复制已有模型模态框 const openCopyAnotherThingModelModal = async () => { console.log('打开复制模态框,当前参数:', { @@ -851,6 +953,15 @@ async function onDel(record: any) { ifShow: !hasData, disabled: !productId, }, + { + label: '模型刷新', + type: 'default', + icon: 'ant-design:reload-outlined', + onClick: onThingModelRefresh, + auth: ['AbpIdentity.Users.Create'], + disabled: !productId, + loading: thingModelRefreshLoading, + }, ]" /> diff --git a/apps/web-antd/src/views/thingmodelinfo/ioTPlatformThingModelInfo/schema.ts b/apps/web-antd/src/views/thingmodelinfo/ioTPlatformThingModelInfo/schema.ts index dba13bf..88d6b20 100644 --- a/apps/web-antd/src/views/thingmodelinfo/ioTPlatformThingModelInfo/schema.ts +++ b/apps/web-antd/src/views/thingmodelinfo/ioTPlatformThingModelInfo/schema.ts @@ -30,6 +30,21 @@ function formatFieldExtensionCell(cellValue: unknown): string { return String(cellValue); } +/** 表单中的扩展字段统一转换为可编辑文本 */ +function formatFieldExtensionFormValue(fieldValue: unknown): string { + if (fieldValue == null || fieldValue === '') { + return ''; + } + if (typeof fieldValue === 'string') { + return fieldValue; + } + try { + return JSON.stringify(fieldValue, null, 2); + } catch { + return String(fieldValue); + } +} + export const querySchema = computed(() => [ { component: 'ApiSelect', @@ -405,6 +420,10 @@ export const getAddThingModelFormSchema = ( formValues.standardFieldValueType = (item?.extendedAttribute ?? '') .toString() .toUpperCase(); + // 选择后自动回填标准物模型扩展参数:extendedAttributeValue + formValues.standardFieldFieldExtension = formatFieldExtensionFormValue( + item?.extendedAttributeValue, + ); }, placeholder: $t('common.pleaseSelect') + @@ -425,6 +444,15 @@ export const getAddThingModelFormSchema = ( $t('abp.thingModelInfos.StandardFieldDisplayName'), }, }, + { + component: 'Textarea', + fieldName: 'standardFieldFieldExtension', + label: $t('abp.thingModelInfos.StandardFieldFieldExtension'), + componentProps: { + rows: 4, + placeholder: '请选择标准物模型后自动回填扩展参数(JSON格式)', + }, + }, { component: 'ApiSelect', fieldName: 'ioTPlatformRawFieldName',