You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/04/20 11:06:05 UTC
[plc4x] 01/02: refactor(plc4go/spi): replace interface{} with any
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit a24d2e18479630f272125c3494aa2e196d2eaa4b
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Thu Apr 20 12:08:33 2023 +0200
refactor(plc4go/spi): replace interface{} with any
---
.../language/go/GoLanguageTemplateHelper.java | 4 +-
.../templates/go/complex-type-template.go.ftlh | 8 +--
.../resources/templates/go/enum-template.go.ftlh | 4 +-
.../templates/go/parser-factory-template.go.ftlh | 2 +-
.../go/xml-parser-factory-template.go.ftlh | 2 +-
.../protocols/test/readwrite/model/StaticHelper.go | 2 +-
plc4go/internal/ads/ValueHandler.go | 20 +++----
plc4go/internal/bacnetip/ApplicationModule.go | 4 +-
.../bacnetip/BACnetVirtualLinkLayerService.go | 2 +-
plc4go/internal/bacnetip/CommunicationsModule.go | 2 +-
plc4go/internal/bacnetip/Discoverer.go | 12 ++--
plc4go/internal/bacnetip/IOCBModule.go | 6 +-
plc4go/internal/bacnetip/NetworkService.go | 12 ++--
plc4go/internal/bacnetip/PDU.go | 12 ++--
plc4go/internal/cbus/Discoverer_test.go | 12 ++--
plc4go/internal/cbus/ValueHandler_test.go | 2 +-
plc4go/internal/knxnetip/ValueHandler.go | 2 +-
plc4go/internal/modbus/ModbusAsciiDriver.go | 2 +-
plc4go/internal/modbus/ModbusRtuDriver.go | 2 +-
plc4go/internal/modbus/ModbusTcpDriver.go | 2 +-
plc4go/internal/simulated/ValueHandler.go | 2 +-
plc4go/pkg/api/driverManager.go | 2 +-
plc4go/pkg/api/model/plc_write.go | 4 +-
plc4go/protocols/abeth/readwrite/ParserHelper.go | 2 +-
.../protocols/abeth/readwrite/XmlParserHelper.go | 2 +-
.../model/CIPEncapsulationConnectionRequest.go | 2 +-
.../model/CIPEncapsulationConnectionResponse.go | 2 +-
.../readwrite/model/CIPEncapsulationPacket.go | 8 +--
.../readwrite/model/CIPEncapsulationReadRequest.go | 2 +-
.../model/CIPEncapsulationReadResponse.go | 2 +-
.../readwrite/model/DF1CommandRequestMessage.go | 2 +-
...mandResponseMessageProtectedTypedLogicalRead.go | 2 +-
.../abeth/readwrite/model/DF1RequestCommand.go | 4 +-
.../abeth/readwrite/model/DF1RequestMessage.go | 8 +--
.../model/DF1RequestProtectedTypedLogicalRead.go | 2 +-
.../abeth/readwrite/model/DF1ResponseMessage.go | 12 ++--
.../ads/discovery/readwrite/ParserHelper.go | 2 +-
.../ads/discovery/readwrite/XmlParserHelper.go | 2 +-
.../ads/discovery/readwrite/model/AdsDiscovery.go | 2 +-
.../discovery/readwrite/model/AdsDiscoveryBlock.go | 4 +-
.../readwrite/model/AdsDiscoveryBlockAmsNetId.go | 2 +-
.../model/AdsDiscoveryBlockFingerprint.go | 2 +-
.../readwrite/model/AdsDiscoveryBlockHostName.go | 2 +-
.../readwrite/model/AdsDiscoveryBlockOsData.go | 2 +-
.../readwrite/model/AdsDiscoveryBlockPassword.go | 2 +-
.../readwrite/model/AdsDiscoveryBlockRouteName.go | 2 +-
.../readwrite/model/AdsDiscoveryBlockStatus.go | 2 +-
.../readwrite/model/AdsDiscoveryBlockType.go | 4 +-
.../readwrite/model/AdsDiscoveryBlockUserName.go | 2 +-
.../readwrite/model/AdsDiscoveryBlockVersion.go | 2 +-
.../readwrite/model/AdsDiscoveryConstants.go | 2 +-
.../discovery/readwrite/model/AdsPortNumbers.go | 4 +-
.../ads/discovery/readwrite/model/AmsNetId.go | 2 +-
.../ads/discovery/readwrite/model/AmsString.go | 6 +-
.../ads/discovery/readwrite/model/Operation.go | 4 +-
.../ads/discovery/readwrite/model/Status.go | 4 +-
plc4go/protocols/ads/readwrite/ParserHelper.go | 2 +-
plc4go/protocols/ads/readwrite/XmlParserHelper.go | 2 +-
.../model/AdsAddDeviceNotificationRequest.go | 10 ++--
.../model/AdsAddDeviceNotificationResponse.go | 2 +-
.../protocols/ads/readwrite/model/AdsConstants.go | 2 +-
.../protocols/ads/readwrite/model/AdsDataType.go | 4 +-
.../ads/readwrite/model/AdsDataTypeArrayInfo.go | 2 +-
.../readwrite/model/AdsDataTypeTableChildEntry.go | 2 +-
.../ads/readwrite/model/AdsDataTypeTableEntry.go | 2 +-
.../model/AdsDeleteDeviceNotificationRequest.go | 2 +-
.../model/AdsDeleteDeviceNotificationResponse.go | 2 +-
.../model/AdsDeviceNotificationRequest.go | 2 +-
.../model/AdsDeviceNotificationResponse.go | 2 +-
.../ads/readwrite/model/AdsInvalidRequest.go | 2 +-
.../ads/readwrite/model/AdsInvalidResponse.go | 2 +-
.../ads/readwrite/model/AdsMultiRequestItem.go | 4 +-
.../ads/readwrite/model/AdsMultiRequestItemRead.go | 2 +-
.../model/AdsMultiRequestItemReadWrite.go | 2 +-
.../readwrite/model/AdsMultiRequestItemWrite.go | 2 +-
.../ads/readwrite/model/AdsNotificationSample.go | 2 +-
.../readwrite/model/AdsReadDeviceInfoRequest.go | 2 +-
.../readwrite/model/AdsReadDeviceInfoResponse.go | 2 +-
.../ads/readwrite/model/AdsReadRequest.go | 2 +-
.../ads/readwrite/model/AdsReadResponse.go | 2 +-
.../ads/readwrite/model/AdsReadStateRequest.go | 2 +-
.../ads/readwrite/model/AdsReadStateResponse.go | 2 +-
.../ads/readwrite/model/AdsReadWriteRequest.go | 8 +--
.../ads/readwrite/model/AdsReadWriteResponse.go | 2 +-
.../ads/readwrite/model/AdsStampHeader.go | 2 +-
.../ads/readwrite/model/AdsSymbolTableEntry.go | 10 ++--
.../protocols/ads/readwrite/model/AdsTableSizes.go | 2 +-
.../protocols/ads/readwrite/model/AdsTransMode.go | 4 +-
.../ads/readwrite/model/AdsWriteControlRequest.go | 2 +-
.../ads/readwrite/model/AdsWriteControlResponse.go | 2 +-
.../ads/readwrite/model/AdsWriteRequest.go | 2 +-
.../ads/readwrite/model/AdsWriteResponse.go | 2 +-
plc4go/protocols/ads/readwrite/model/AmsNetId.go | 2 +-
plc4go/protocols/ads/readwrite/model/AmsPacket.go | 8 +--
.../readwrite/model/AmsSerialAcknowledgeFrame.go | 2 +-
.../ads/readwrite/model/AmsSerialFrame.go | 2 +-
.../ads/readwrite/model/AmsSerialResetFrame.go | 2 +-
.../protocols/ads/readwrite/model/AmsTCPPacket.go | 6 +-
plc4go/protocols/ads/readwrite/model/CommandId.go | 4 +-
.../ads/readwrite/model/DefaultAmsPorts.go | 4 +-
.../protocols/ads/readwrite/model/ErrorResponse.go | 2 +-
.../protocols/ads/readwrite/model/PlcValueType.go | 4 +-
.../ads/readwrite/model/ReservedIndexGroups.go | 4 +-
plc4go/protocols/ads/readwrite/model/ReturnCode.go | 4 +-
.../protocols/bacnetip/readwrite/ParserHelper.go | 2 +-
.../bacnetip/readwrite/XmlParserHelper.go | 2 +-
plc4go/protocols/bacnetip/readwrite/model/APDU.go | 4 +-
.../bacnetip/readwrite/model/APDUAbort.go | 6 +-
.../bacnetip/readwrite/model/APDUComplexAck.go | 20 +++----
.../readwrite/model/APDUConfirmedRequest.go | 20 +++----
.../bacnetip/readwrite/model/APDUError.go | 6 +-
.../bacnetip/readwrite/model/APDUReject.go | 6 +-
.../bacnetip/readwrite/model/APDUSegmentAck.go | 6 +-
.../bacnetip/readwrite/model/APDUSimpleAck.go | 6 +-
.../readwrite/model/APDUUnconfirmedRequest.go | 6 +-
.../bacnetip/readwrite/model/APDUUnknown.go | 4 +-
.../protocols/bacnetip/readwrite/model/ApduType.go | 4 +-
.../bacnetip/readwrite/model/BACnetAbortReason.go | 4 +-
.../readwrite/model/BACnetAbortReasonTagged.go | 6 +-
.../BACnetAccessAuthenticationFactorDisable.go | 4 +-
...ACnetAccessAuthenticationFactorDisableTagged.go | 6 +-
.../model/BACnetAccessCredentialDisable.go | 4 +-
.../model/BACnetAccessCredentialDisableReason.go | 4 +-
.../BACnetAccessCredentialDisableReasonTagged.go | 6 +-
.../model/BACnetAccessCredentialDisableTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetAccessEvent.go | 4 +-
.../readwrite/model/BACnetAccessEventTagged.go | 6 +-
.../readwrite/model/BACnetAccessPassbackMode.go | 4 +-
.../model/BACnetAccessPassbackModeTagged.go | 2 +-
.../bacnetip/readwrite/model/BACnetAccessRule.go | 2 +-
.../model/BACnetAccessRuleLocationSpecifier.go | 4 +-
.../BACnetAccessRuleLocationSpecifierTagged.go | 2 +-
.../model/BACnetAccessRuleTimeRangeSpecifier.go | 4 +-
.../BACnetAccessRuleTimeRangeSpecifierTagged.go | 2 +-
.../readwrite/model/BACnetAccessThreatLevel.go | 2 +-
.../readwrite/model/BACnetAccessUserType.go | 4 +-
.../readwrite/model/BACnetAccessUserTypeTagged.go | 6 +-
.../model/BACnetAccessZoneOccupancyState.go | 4 +-
.../model/BACnetAccessZoneOccupancyStateTagged.go | 6 +-
.../readwrite/model/BACnetAccumulatorRecord.go | 2 +-
.../BACnetAccumulatorRecordAccumulatorStatus.go | 4 +-
...CnetAccumulatorRecordAccumulatorStatusTagged.go | 2 +-
.../bacnetip/readwrite/model/BACnetAction.go | 4 +-
.../readwrite/model/BACnetActionCommand.go | 4 +-
.../bacnetip/readwrite/model/BACnetActionList.go | 2 +-
.../bacnetip/readwrite/model/BACnetActionTagged.go | 2 +-
.../bacnetip/readwrite/model/BACnetAddress.go | 2 +-
.../readwrite/model/BACnetAddressBinding.go | 2 +-
.../readwrite/model/BACnetAddressEnclosed.go | 2 +-
.../readwrite/model/BACnetApplicationTag.go | 4 +-
.../model/BACnetApplicationTagBitString.go | 2 +-
.../readwrite/model/BACnetApplicationTagBoolean.go | 2 +-
.../model/BACnetApplicationTagCharacterString.go | 2 +-
.../readwrite/model/BACnetApplicationTagDate.go | 2 +-
.../readwrite/model/BACnetApplicationTagDouble.go | 2 +-
.../model/BACnetApplicationTagEnumerated.go | 2 +-
.../readwrite/model/BACnetApplicationTagNull.go | 2 +-
.../model/BACnetApplicationTagObjectIdentifier.go | 2 +-
.../model/BACnetApplicationTagOctetString.go | 2 +-
.../readwrite/model/BACnetApplicationTagReal.go | 2 +-
.../model/BACnetApplicationTagSignedInteger.go | 2 +-
.../readwrite/model/BACnetApplicationTagTime.go | 2 +-
.../model/BACnetApplicationTagUnsignedInteger.go | 2 +-
.../readwrite/model/BACnetAssignedAccessRights.go | 2 +-
.../readwrite/model/BACnetAssignedLandingCalls.go | 2 +-
.../BACnetAssignedLandingCallsLandingCallsList.go | 2 +-
...netAssignedLandingCallsLandingCallsListEntry.go | 2 +-
.../readwrite/model/BACnetAuthenticationFactor.go | 2 +-
.../model/BACnetAuthenticationFactorEnclosed.go | 2 +-
.../model/BACnetAuthenticationFactorFormat.go | 2 +-
.../model/BACnetAuthenticationFactorType.go | 4 +-
.../model/BACnetAuthenticationFactorTypeTagged.go | 2 +-
.../readwrite/model/BACnetAuthenticationPolicy.go | 2 +-
.../model/BACnetAuthenticationPolicyList.go | 2 +-
.../model/BACnetAuthenticationPolicyListEntry.go | 2 +-
.../readwrite/model/BACnetAuthenticationStatus.go | 4 +-
.../model/BACnetAuthenticationStatusTagged.go | 2 +-
.../model/BACnetAuthorizationExemption.go | 4 +-
.../model/BACnetAuthorizationExemptionTagged.go | 6 +-
.../readwrite/model/BACnetAuthorizationMode.go | 4 +-
.../model/BACnetAuthorizationModeTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetBDTEntry.go | 2 +-
.../bacnetip/readwrite/model/BACnetBackupState.go | 4 +-
.../readwrite/model/BACnetBackupStateTagged.go | 2 +-
.../readwrite/model/BACnetBinaryLightingPV.go | 4 +-
.../model/BACnetBinaryLightingPVTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetBinaryPV.go | 4 +-
.../readwrite/model/BACnetBinaryPVTagged.go | 2 +-
.../model/BACnetCOVMultipleSubscription.go | 2 +-
...bscriptionListOfCovSubscriptionSpecification.go | 2 +-
...ptionListOfCovSubscriptionSpecificationEntry.go | 2 +-
...riptionSpecificationEntryListOfCovReferences.go | 2 +-
...onSpecificationEntryListOfCovReferencesEntry.go | 2 +-
.../readwrite/model/BACnetCOVSubscription.go | 2 +-
.../readwrite/model/BACnetCalendarEntry.go | 4 +-
.../readwrite/model/BACnetCalendarEntryDate.go | 2 +-
.../model/BACnetCalendarEntryDateRange.go | 2 +-
.../readwrite/model/BACnetCalendarEntryEnclosed.go | 2 +-
.../readwrite/model/BACnetCalendarEntryWeekNDay.go | 2 +-
.../bacnetip/readwrite/model/BACnetChannelValue.go | 4 +-
.../readwrite/model/BACnetChannelValueBitString.go | 2 +-
.../readwrite/model/BACnetChannelValueBoolean.go | 2 +-
.../model/BACnetChannelValueCharacterString.go | 2 +-
.../readwrite/model/BACnetChannelValueDate.go | 2 +-
.../readwrite/model/BACnetChannelValueDouble.go | 2 +-
.../model/BACnetChannelValueEnumerated.go | 2 +-
.../readwrite/model/BACnetChannelValueInteger.go | 2 +-
.../model/BACnetChannelValueLightingCommand.go | 2 +-
.../readwrite/model/BACnetChannelValueNull.go | 2 +-
.../model/BACnetChannelValueObjectidentifier.go | 2 +-
.../model/BACnetChannelValueOctetString.go | 2 +-
.../readwrite/model/BACnetChannelValueReal.go | 2 +-
.../readwrite/model/BACnetChannelValueTime.go | 2 +-
.../readwrite/model/BACnetChannelValueUnsigned.go | 2 +-
.../readwrite/model/BACnetCharacterEncoding.go | 4 +-
.../bacnetip/readwrite/model/BACnetClientCOV.go | 4 +-
.../readwrite/model/BACnetClientCOVNone.go | 2 +-
.../readwrite/model/BACnetClientCOVObject.go | 2 +-
.../bacnetip/readwrite/model/BACnetClosingTag.go | 2 +-
.../model/BACnetConfirmedServiceChoice.go | 4 +-
.../model/BACnetConfirmedServiceRequest.go | 8 +--
...ACnetConfirmedServiceRequestAcknowledgeAlarm.go | 2 +-
.../BACnetConfirmedServiceRequestAddListElement.go | 4 +-
.../BACnetConfirmedServiceRequestAtomicReadFile.go | 2 +-
...tConfirmedServiceRequestAtomicReadFileRecord.go | 2 +-
...tConfirmedServiceRequestAtomicReadFileStream.go | 2 +-
...edServiceRequestAtomicReadFileStreamOrRecord.go | 4 +-
...BACnetConfirmedServiceRequestAtomicWriteFile.go | 2 +-
.../BACnetConfirmedServiceRequestAuthenticate.go | 2 +-
...firmedServiceRequestConfirmedCOVNotification.go | 2 +-
...rviceRequestConfirmedCOVNotificationMultiple.go | 2 +-
...rmedServiceRequestConfirmedEventNotification.go | 2 +-
...firmedServiceRequestConfirmedPrivateTransfer.go | 2 +-
...tConfirmedServiceRequestConfirmedTextMessage.go | 2 +-
...rviceRequestConfirmedTextMessageMessageClass.go | 4 +-
...estConfirmedTextMessageMessageClassCharacter.go | 2 +-
...questConfirmedTextMessageMessageClassNumeric.go | 2 +-
...ceRequestConfirmedTextMessageMessagePriority.go | 4 +-
...estConfirmedTextMessageMessagePriorityTagged.go | 2 +-
.../BACnetConfirmedServiceRequestCreateObject.go | 4 +-
...medServiceRequestCreateObjectObjectSpecifier.go | 2 +-
.../BACnetConfirmedServiceRequestDeleteObject.go | 2 +-
...rmedServiceRequestDeviceCommunicationControl.go | 2 +-
...questDeviceCommunicationControlEnableDisable.go | 4 +-
...eviceCommunicationControlEnableDisableTagged.go | 2 +-
...tConfirmedServiceRequestGetEnrollmentSummary.go | 2 +-
...estGetEnrollmentSummaryAcknowledgementFilter.go | 4 +-
...EnrollmentSummaryAcknowledgementFilterTagged.go | 2 +-
...eRequestGetEnrollmentSummaryEventStateFilter.go | 4 +-
...stGetEnrollmentSummaryEventStateFilterTagged.go | 2 +-
...iceRequestGetEnrollmentSummaryPriorityFilter.go | 2 +-
...etConfirmedServiceRequestGetEventInformation.go | 2 +-
...etConfirmedServiceRequestLifeSafetyOperation.go | 2 +-
.../BACnetConfirmedServiceRequestReadProperty.go | 2 +-
...nfirmedServiceRequestReadPropertyConditional.go | 2 +-
...tConfirmedServiceRequestReadPropertyMultiple.go | 2 +-
.../BACnetConfirmedServiceRequestReadRange.go | 2 +-
.../BACnetConfirmedServiceRequestReadRangeRange.go | 4 +-
...firmedServiceRequestReadRangeRangeByPosition.go | 2 +-
...ServiceRequestReadRangeRangeBySequenceNumber.go | 2 +-
...tConfirmedServiceRequestReadRangeRangeByTime.go | 2 +-
...netConfirmedServiceRequestReinitializeDevice.go | 2 +-
...ReinitializeDeviceReinitializedStateOfDevice.go | 4 +-
...ializeDeviceReinitializedStateOfDeviceTagged.go | 2 +-
...CnetConfirmedServiceRequestRemoveListElement.go | 4 +-
.../BACnetConfirmedServiceRequestRequestKey.go | 2 +-
.../BACnetConfirmedServiceRequestSubscribeCOV.go | 2 +-
...tConfirmedServiceRequestSubscribeCOVProperty.go | 2 +-
...edServiceRequestSubscribeCOVPropertyMultiple.go | 2 +-
...yMultipleListOfCovSubscriptionSpecifications.go | 2 +-
...tipleListOfCovSubscriptionSpecificationsList.go | 2 +-
...ListOfCovSubscriptionSpecificationsReference.go | 2 +-
.../model/BACnetConfirmedServiceRequestUnknown.go | 2 +-
.../model/BACnetConfirmedServiceRequestVTClose.go | 2 +-
.../model/BACnetConfirmedServiceRequestVTData.go | 2 +-
.../model/BACnetConfirmedServiceRequestVTOpen.go | 2 +-
.../BACnetConfirmedServiceRequestWriteProperty.go | 4 +-
...ConfirmedServiceRequestWritePropertyMultiple.go | 2 +-
.../readwrite/model/BACnetConstructedData.go | 4 +-
.../model/BACnetConstructedDataAPDULength.go | 2 +-
.../BACnetConstructedDataAPDUSegmentTimeout.go | 2 +-
.../model/BACnetConstructedDataAPDUTimeout.go | 2 +-
.../model/BACnetConstructedDataAbsenteeLimit.go | 2 +-
.../model/BACnetConstructedDataAcceptedModes.go | 2 +-
.../BACnetConstructedDataAccessAlarmEvents.go | 2 +-
.../BACnetConstructedDataAccessCredentialAll.go | 2 +-
.../BACnetConstructedDataAccessDoorAlarmValues.go | 2 +-
.../model/BACnetConstructedDataAccessDoorAll.go | 2 +-
.../BACnetConstructedDataAccessDoorFaultValues.go | 2 +-
.../BACnetConstructedDataAccessDoorPresentValue.go | 2 +-
...etConstructedDataAccessDoorRelinquishDefault.go | 2 +-
.../model/BACnetConstructedDataAccessDoors.go | 2 +-
.../model/BACnetConstructedDataAccessEvent.go | 2 +-
...nstructedDataAccessEventAuthenticationFactor.go | 2 +-
.../BACnetConstructedDataAccessEventCredential.go | 2 +-
.../model/BACnetConstructedDataAccessEventTag.go | 2 +-
.../model/BACnetConstructedDataAccessEventTime.go | 2 +-
.../model/BACnetConstructedDataAccessPointAll.go | 2 +-
.../model/BACnetConstructedDataAccessRightsAll.go | 2 +-
...BACnetConstructedDataAccessTransactionEvents.go | 2 +-
.../model/BACnetConstructedDataAccessUserAll.go | 2 +-
.../BACnetConstructedDataAccessZoneAdjustValue.go | 2 +-
.../BACnetConstructedDataAccessZoneAlarmValues.go | 2 +-
.../model/BACnetConstructedDataAccessZoneAll.go | 2 +-
.../model/BACnetConstructedDataAccompaniment.go | 2 +-
.../BACnetConstructedDataAccompanimentTime.go | 2 +-
.../model/BACnetConstructedDataAccumulatorAll.go | 2 +-
...CnetConstructedDataAccumulatorFaultHighLimit.go | 2 +-
...ACnetConstructedDataAccumulatorFaultLowLimit.go | 2 +-
.../BACnetConstructedDataAccumulatorHighLimit.go | 2 +-
.../BACnetConstructedDataAccumulatorLowLimit.go | 2 +-
...BACnetConstructedDataAccumulatorMaxPresValue.go | 2 +-
...BACnetConstructedDataAccumulatorMinPresValue.go | 2 +-
.../model/BACnetConstructedDataAckRequired.go | 2 +-
.../model/BACnetConstructedDataAckedTransitions.go | 2 +-
.../readwrite/model/BACnetConstructedDataAction.go | 2 +-
.../model/BACnetConstructedDataActionText.go | 2 +-
.../model/BACnetConstructedDataActivationTime.go | 2 +-
...netConstructedDataActiveAuthenticationPolicy.go | 2 +-
...onstructedDataActiveCOVMultipleSubscriptions.go | 2 +-
.../BACnetConstructedDataActiveCOVSubscriptions.go | 2 +-
.../model/BACnetConstructedDataActiveText.go | 2 +-
.../model/BACnetConstructedDataActiveVTSessions.go | 2 +-
.../model/BACnetConstructedDataActualShedLevel.go | 2 +-
.../model/BACnetConstructedDataAdjustValue.go | 2 +-
.../model/BACnetConstructedDataAlarmValue.go | 2 +-
.../model/BACnetConstructedDataAlarmValues.go | 2 +-
.../BACnetConstructedDataAlertEnrollmentAll.go | 2 +-
...etConstructedDataAlertEnrollmentPresentValue.go | 2 +-
.../model/BACnetConstructedDataAlignIntervals.go | 2 +-
.../BACnetConstructedDataAllWritesSuccessful.go | 2 +-
.../BACnetConstructedDataAllowGroupDelayInhibit.go | 2 +-
.../model/BACnetConstructedDataAnalogInputAll.go | 2 +-
...CnetConstructedDataAnalogInputFaultHighLimit.go | 2 +-
...ACnetConstructedDataAnalogInputFaultLowLimit.go | 2 +-
...CnetConstructedDataAnalogInputInterfaceValue.go | 2 +-
...BACnetConstructedDataAnalogInputMaxPresValue.go | 2 +-
...BACnetConstructedDataAnalogInputPresentValue.go | 2 +-
.../model/BACnetConstructedDataAnalogOutputAll.go | 2 +-
...netConstructedDataAnalogOutputInterfaceValue.go | 2 +-
...ACnetConstructedDataAnalogOutputMaxPresValue.go | 2 +-
...ACnetConstructedDataAnalogOutputPresentValue.go | 2 +-
...ConstructedDataAnalogOutputRelinquishDefault.go | 2 +-
.../model/BACnetConstructedDataAnalogValueAll.go | 2 +-
...CnetConstructedDataAnalogValueFaultHighLimit.go | 2 +-
...ACnetConstructedDataAnalogValueFaultLowLimit.go | 2 +-
...BACnetConstructedDataAnalogValueMaxPresValue.go | 2 +-
...BACnetConstructedDataAnalogValuePresentValue.go | 2 +-
...tConstructedDataAnalogValueRelinquishDefault.go | 2 +-
...netConstructedDataApplicationSoftwareVersion.go | 2 +-
.../model/BACnetConstructedDataArchive.go | 2 +-
.../BACnetConstructedDataAssignedAccessRights.go | 2 +-
.../BACnetConstructedDataAssignedLandingCalls.go | 2 +-
.../model/BACnetConstructedDataAttemptedSamples.go | 2 +-
.../BACnetConstructedDataAuthenticationFactors.go | 2 +-
...ACnetConstructedDataAuthenticationPolicyList.go | 2 +-
...CnetConstructedDataAuthenticationPolicyNames.go | 2 +-
.../BACnetConstructedDataAuthenticationStatus.go | 2 +-
...BACnetConstructedDataAuthorizationExemptions.go | 2 +-
.../BACnetConstructedDataAuthorizationMode.go | 2 +-
.../BACnetConstructedDataAutoSlaveDiscovery.go | 2 +-
.../model/BACnetConstructedDataAverageValue.go | 2 +-
.../model/BACnetConstructedDataAveragingAll.go | 2 +-
.../BACnetConstructedDataBACnetIPGlobalAddress.go | 2 +-
.../model/BACnetConstructedDataBACnetIPMode.go | 2 +-
...ACnetConstructedDataBACnetIPMulticastAddress.go | 2 +-
.../BACnetConstructedDataBACnetIPNATTraversal.go | 2 +-
.../model/BACnetConstructedDataBACnetIPUDPPort.go | 2 +-
.../model/BACnetConstructedDataBACnetIPv6Mode.go | 2 +-
...netConstructedDataBACnetIPv6MulticastAddress.go | 2 +-
.../BACnetConstructedDataBACnetIPv6UDPPort.go | 2 +-
...CnetConstructedDataBBMDAcceptFDRegistrations.go | 2 +-
...onstructedDataBBMDBroadcastDistributionTable.go | 2 +-
.../BACnetConstructedDataBBMDForeignDeviceTable.go | 2 +-
.../BACnetConstructedDataBackupAndRestoreState.go | 2 +-
.../BACnetConstructedDataBackupFailureTimeout.go | 2 +-
.../BACnetConstructedDataBackupPreparationTime.go | 2 +-
...ACnetConstructedDataBaseDeviceSecurityPolicy.go | 2 +-
.../model/BACnetConstructedDataBelongsTo.go | 2 +-
.../readwrite/model/BACnetConstructedDataBias.go | 2 +-
.../model/BACnetConstructedDataBinaryInputAll.go | 2 +-
...CnetConstructedDataBinaryInputInterfaceValue.go | 2 +-
...BACnetConstructedDataBinaryInputPresentValue.go | 2 +-
...BACnetConstructedDataBinaryLightingOutputAll.go | 2 +-
...tructedDataBinaryLightingOutputFeedbackValue.go | 2 +-
...structedDataBinaryLightingOutputPresentValue.go | 2 +-
...tedDataBinaryLightingOutputRelinquishDefault.go | 2 +-
.../model/BACnetConstructedDataBinaryOutputAll.go | 2 +-
...CnetConstructedDataBinaryOutputFeedbackValue.go | 2 +-
...netConstructedDataBinaryOutputInterfaceValue.go | 2 +-
...ACnetConstructedDataBinaryOutputPresentValue.go | 2 +-
...ConstructedDataBinaryOutputRelinquishDefault.go | 2 +-
.../model/BACnetConstructedDataBinaryValueAll.go | 2 +-
...BACnetConstructedDataBinaryValuePresentValue.go | 2 +-
...tConstructedDataBinaryValueRelinquishDefault.go | 2 +-
.../model/BACnetConstructedDataBitMask.go | 2 +-
...CnetConstructedDataBitStringValueAlarmValues.go | 2 +-
...netConstructedDataBitStringValuePresentValue.go | 2 +-
...nstructedDataBitStringValueRelinquishDefault.go | 2 +-
.../model/BACnetConstructedDataBitText.go | 2 +-
.../BACnetConstructedDataBitstringValueAll.go | 2 +-
.../model/BACnetConstructedDataBlinkWarnEnable.go | 2 +-
.../model/BACnetConstructedDataBufferSize.go | 2 +-
.../model/BACnetConstructedDataCOVIncrement.go | 2 +-
.../model/BACnetConstructedDataCOVPeriod.go | 2 +-
...CnetConstructedDataCOVResubscriptionInterval.go | 2 +-
.../model/BACnetConstructedDataCOVUPeriod.go | 2 +-
.../model/BACnetConstructedDataCOVURecipients.go | 2 +-
.../model/BACnetConstructedDataCalendarAll.go | 2 +-
.../BACnetConstructedDataCalendarPresentValue.go | 2 +-
.../BACnetConstructedDataCarAssignedDirection.go | 2 +-
.../model/BACnetConstructedDataCarDoorCommand.go | 2 +-
.../model/BACnetConstructedDataCarDoorStatus.go | 2 +-
.../model/BACnetConstructedDataCarDoorText.go | 2 +-
.../model/BACnetConstructedDataCarDoorZone.go | 2 +-
.../model/BACnetConstructedDataCarDriveStatus.go | 2 +-
.../model/BACnetConstructedDataCarLoad.go | 2 +-
.../model/BACnetConstructedDataCarLoadUnits.go | 2 +-
.../model/BACnetConstructedDataCarMode.go | 2 +-
.../BACnetConstructedDataCarMovingDirection.go | 2 +-
.../model/BACnetConstructedDataCarPosition.go | 2 +-
.../BACnetConstructedDataChangeOfStateCount.go | 2 +-
.../BACnetConstructedDataChangeOfStateTime.go | 2 +-
.../model/BACnetConstructedDataChangesPending.go | 2 +-
.../model/BACnetConstructedDataChannelAll.go | 2 +-
...tedDataChannelListOfObjectPropertyReferences.go | 2 +-
.../model/BACnetConstructedDataChannelNumber.go | 2 +-
.../BACnetConstructedDataChannelPresentValue.go | 2 +-
...nstructedDataCharacterStringValueAlarmValues.go | 2 +-
...nstructedDataCharacterStringValueFaultValues.go | 2 +-
...structedDataCharacterStringValuePresentValue.go | 2 +-
...tedDataCharacterStringValueRelinquishDefault.go | 2 +-
...BACnetConstructedDataCharacterstringValueAll.go | 2 +-
.../BACnetConstructedDataClientCOVIncrement.go | 2 +-
.../model/BACnetConstructedDataCommand.go | 2 +-
.../model/BACnetConstructedDataCommandAction.go | 2 +-
.../model/BACnetConstructedDataCommandAll.go | 2 +-
.../model/BACnetConstructedDataCommandTimeArray.go | 2 +-
.../BACnetConstructedDataConfigurationFiles.go | 2 +-
.../model/BACnetConstructedDataControlGroups.go | 2 +-
...etConstructedDataControlledVariableReference.go | 2 +-
...BACnetConstructedDataControlledVariableUnits.go | 2 +-
...BACnetConstructedDataControlledVariableValue.go | 2 +-
.../readwrite/model/BACnetConstructedDataCount.go | 2 +-
.../BACnetConstructedDataCountBeforeChange.go | 2 +-
.../model/BACnetConstructedDataCountChangeTime.go | 2 +-
.../BACnetConstructedDataCredentialDataInputAll.go | 2 +-
...nstructedDataCredentialDataInputPresentValue.go | 2 +-
...ConstructedDataCredentialDataInputUpdateTime.go | 2 +-
.../BACnetConstructedDataCredentialDisable.go | 2 +-
.../model/BACnetConstructedDataCredentialStatus.go | 2 +-
.../model/BACnetConstructedDataCredentials.go | 2 +-
.../BACnetConstructedDataCredentialsInZone.go | 2 +-
.../BACnetConstructedDataCurrentCommandPriority.go | 2 +-
.../model/BACnetConstructedDataDatabaseRevision.go | 2 +-
.../model/BACnetConstructedDataDateList.go | 2 +-
...tConstructedDataDatePatternValuePresentValue.go | 2 +-
...tructedDataDatePatternValueRelinquishDefault.go | 2 +-
...structedDataDateTimePatternValuePresentValue.go | 2 +-
...tedDataDateTimePatternValueRelinquishDefault.go | 2 +-
...CnetConstructedDataDateTimeValuePresentValue.go | 2 +-
...onstructedDataDateTimeValueRelinquishDefault.go | 2 +-
.../model/BACnetConstructedDataDateValueAll.go | 2 +-
.../BACnetConstructedDataDateValuePresentValue.go | 2 +-
...netConstructedDataDateValueRelinquishDefault.go | 2 +-
.../BACnetConstructedDataDatepatternValueAll.go | 2 +-
.../model/BACnetConstructedDataDatetimeValueAll.go | 2 +-
...BACnetConstructedDataDatetimepatternValueAll.go | 2 +-
.../BACnetConstructedDataDaylightSavingsStatus.go | 2 +-
.../model/BACnetConstructedDataDaysRemaining.go | 2 +-
.../model/BACnetConstructedDataDeadband.go | 2 +-
.../model/BACnetConstructedDataDefaultFadeTime.go | 2 +-
.../model/BACnetConstructedDataDefaultRampRate.go | 2 +-
.../BACnetConstructedDataDefaultStepIncrement.go | 2 +-
...onstructedDataDefaultSubordinateRelationship.go | 2 +-
.../model/BACnetConstructedDataDefaultTimeout.go | 2 +-
...BACnetConstructedDataDeployedProfileLocation.go | 2 +-
.../BACnetConstructedDataDerivativeConstant.go | 2 +-
...BACnetConstructedDataDerivativeConstantUnits.go | 2 +-
.../model/BACnetConstructedDataDescription.go | 2 +-
.../BACnetConstructedDataDescriptionOfHalt.go | 2 +-
.../BACnetConstructedDataDeviceAddressBinding.go | 2 +-
.../model/BACnetConstructedDataDeviceAll.go | 2 +-
.../BACnetConstructedDataDeviceMaxInfoFrames.go | 2 +-
.../model/BACnetConstructedDataDeviceMaxMaster.go | 2 +-
.../model/BACnetConstructedDataDeviceType.go | 2 +-
.../model/BACnetConstructedDataDirectReading.go | 2 +-
...BACnetConstructedDataDistributionKeyRevision.go | 2 +-
.../model/BACnetConstructedDataDoNotHide.go | 2 +-
.../model/BACnetConstructedDataDoorAlarmState.go | 2 +-
.../BACnetConstructedDataDoorExtendedPulseTime.go | 2 +-
.../model/BACnetConstructedDataDoorMembers.go | 2 +-
.../BACnetConstructedDataDoorOpenTooLongTime.go | 2 +-
.../model/BACnetConstructedDataDoorPulseTime.go | 2 +-
.../model/BACnetConstructedDataDoorStatus.go | 2 +-
.../BACnetConstructedDataDoorUnlockDelayTime.go | 2 +-
.../model/BACnetConstructedDataDutyWindow.go | 2 +-
.../model/BACnetConstructedDataEffectivePeriod.go | 2 +-
.../model/BACnetConstructedDataEgressActive.go | 2 +-
.../model/BACnetConstructedDataEgressTime.go | 2 +-
.../BACnetConstructedDataElapsedActiveTime.go | 2 +-
.../model/BACnetConstructedDataElement.go | 2 +-
.../model/BACnetConstructedDataElevatorGroup.go | 2 +-
.../model/BACnetConstructedDataElevatorGroupAll.go | 2 +-
...CnetConstructedDataElevatorGroupGroupMembers.go | 2 +-
.../readwrite/model/BACnetConstructedDataEnable.go | 2 +-
.../model/BACnetConstructedDataEnergyMeter.go | 2 +-
.../model/BACnetConstructedDataEnergyMeterRef.go | 2 +-
.../model/BACnetConstructedDataEntryPoints.go | 2 +-
.../model/BACnetConstructedDataErrorLimit.go | 2 +-
.../model/BACnetConstructedDataEscalatorAll.go | 2 +-
.../BACnetConstructedDataEscalatorFaultSignals.go | 2 +-
.../model/BACnetConstructedDataEscalatorMode.go | 2 +-
.../BACnetConstructedDataEventAlgorithmInhibit.go | 2 +-
...ACnetConstructedDataEventAlgorithmInhibitRef.go | 2 +-
.../BACnetConstructedDataEventDetectionEnable.go | 2 +-
.../model/BACnetConstructedDataEventEnable.go | 2 +-
.../BACnetConstructedDataEventEnrollmentAll.go | 2 +-
.../model/BACnetConstructedDataEventLogAll.go | 2 +-
.../BACnetConstructedDataEventLogLogBuffer.go | 2 +-
.../BACnetConstructedDataEventMessageTexts.go | 14 ++---
...BACnetConstructedDataEventMessageTextsConfig.go | 14 ++---
.../model/BACnetConstructedDataEventParameters.go | 2 +-
.../model/BACnetConstructedDataEventState.go | 2 +-
.../model/BACnetConstructedDataEventTimeStamps.go | 14 ++---
.../model/BACnetConstructedDataEventType.go | 2 +-
.../BACnetConstructedDataExceptionSchedule.go | 2 +-
.../model/BACnetConstructedDataExecutionDelay.go | 2 +-
.../model/BACnetConstructedDataExitPoints.go | 2 +-
.../BACnetConstructedDataExpectedShedLevel.go | 2 +-
.../model/BACnetConstructedDataExpirationTime.go | 2 +-
.../BACnetConstructedDataExtendedTimeEnable.go | 2 +-
.../model/BACnetConstructedDataFDBBMDAddress.go | 2 +-
.../BACnetConstructedDataFDSubscriptionLifetime.go | 2 +-
.../BACnetConstructedDataFailedAttemptEvents.go | 2 +-
.../model/BACnetConstructedDataFailedAttempts.go | 2 +-
.../BACnetConstructedDataFailedAttemptsTime.go | 2 +-
.../model/BACnetConstructedDataFaultHighLimit.go | 2 +-
.../model/BACnetConstructedDataFaultLowLimit.go | 2 +-
.../model/BACnetConstructedDataFaultParameters.go | 2 +-
.../model/BACnetConstructedDataFaultSignals.go | 2 +-
.../model/BACnetConstructedDataFaultType.go | 2 +-
.../model/BACnetConstructedDataFaultValues.go | 2 +-
.../model/BACnetConstructedDataFileAccessMethod.go | 2 +-
.../model/BACnetConstructedDataFileAll.go | 2 +-
.../model/BACnetConstructedDataFileRecordCount.go | 2 +-
.../model/BACnetConstructedDataFileSize.go | 2 +-
.../model/BACnetConstructedDataFileType.go | 2 +-
.../model/BACnetConstructedDataFirmwareRevision.go | 2 +-
.../model/BACnetConstructedDataFloorText.go | 2 +-
.../model/BACnetConstructedDataFullDutyBaseline.go | 2 +-
.../model/BACnetConstructedDataGlobalGroupAll.go | 2 +-
...BACnetConstructedDataGlobalGroupGroupMembers.go | 2 +-
...BACnetConstructedDataGlobalGroupPresentValue.go | 2 +-
.../model/BACnetConstructedDataGlobalIdentifier.go | 2 +-
.../model/BACnetConstructedDataGroupAll.go | 2 +-
.../model/BACnetConstructedDataGroupID.go | 2 +-
.../model/BACnetConstructedDataGroupMemberNames.go | 2 +-
.../model/BACnetConstructedDataGroupMembers.go | 2 +-
.../model/BACnetConstructedDataGroupMode.go | 2 +-
.../BACnetConstructedDataGroupPresentValue.go | 2 +-
.../model/BACnetConstructedDataHighLimit.go | 2 +-
.../model/BACnetConstructedDataHigherDeck.go | 2 +-
.../model/BACnetConstructedDataIPAddress.go | 2 +-
.../model/BACnetConstructedDataIPDHCPEnable.go | 2 +-
.../model/BACnetConstructedDataIPDHCPLeaseTime.go | 2 +-
...ACnetConstructedDataIPDHCPLeaseTimeRemaining.go | 2 +-
.../model/BACnetConstructedDataIPDHCPServer.go | 2 +-
.../model/BACnetConstructedDataIPDNSServer.go | 2 +-
.../model/BACnetConstructedDataIPDefaultGateway.go | 2 +-
.../model/BACnetConstructedDataIPSubnetMask.go | 2 +-
.../model/BACnetConstructedDataIPv6Address.go | 2 +-
...ACnetConstructedDataIPv6AutoAddressingEnable.go | 2 +-
.../BACnetConstructedDataIPv6DHCPLeaseTime.go | 2 +-
...netConstructedDataIPv6DHCPLeaseTimeRemaining.go | 2 +-
.../model/BACnetConstructedDataIPv6DHCPServer.go | 2 +-
.../model/BACnetConstructedDataIPv6DNSServer.go | 2 +-
.../BACnetConstructedDataIPv6DefaultGateway.go | 2 +-
.../model/BACnetConstructedDataIPv6PrefixLength.go | 2 +-
.../model/BACnetConstructedDataIPv6ZoneIndex.go | 2 +-
.../model/BACnetConstructedDataInProcess.go | 2 +-
.../model/BACnetConstructedDataInProgress.go | 2 +-
.../model/BACnetConstructedDataInactiveText.go | 2 +-
.../model/BACnetConstructedDataInitialTimeout.go | 2 +-
.../model/BACnetConstructedDataInputReference.go | 2 +-
.../model/BACnetConstructedDataInstallationID.go | 2 +-
.../model/BACnetConstructedDataInstanceOf.go | 2 +-
.../BACnetConstructedDataInstantaneousPower.go | 2 +-
.../model/BACnetConstructedDataIntegerValueAll.go | 2 +-
...ACnetConstructedDataIntegerValueCOVIncrement.go | 2 +-
.../BACnetConstructedDataIntegerValueDeadband.go | 2 +-
...netConstructedDataIntegerValueFaultHighLimit.go | 2 +-
...CnetConstructedDataIntegerValueFaultLowLimit.go | 2 +-
.../BACnetConstructedDataIntegerValueHighLimit.go | 2 +-
.../BACnetConstructedDataIntegerValueLowLimit.go | 2 +-
...ACnetConstructedDataIntegerValueMaxPresValue.go | 2 +-
...ACnetConstructedDataIntegerValueMinPresValue.go | 2 +-
...ACnetConstructedDataIntegerValuePresentValue.go | 2 +-
...ConstructedDataIntegerValueRelinquishDefault.go | 2 +-
.../BACnetConstructedDataIntegerValueResolution.go | 2 +-
.../model/BACnetConstructedDataIntegralConstant.go | 2 +-
.../BACnetConstructedDataIntegralConstantUnits.go | 2 +-
.../model/BACnetConstructedDataIntervalOffset.go | 2 +-
.../readwrite/model/BACnetConstructedDataIsUTC.go | 2 +-
.../model/BACnetConstructedDataKeySets.go | 2 +-
.../BACnetConstructedDataLandingCallControl.go | 2 +-
.../model/BACnetConstructedDataLandingCalls.go | 2 +-
.../BACnetConstructedDataLandingDoorStatus.go | 2 +-
.../BACnetConstructedDataLargeAnalogValueAll.go | 2 +-
...tConstructedDataLargeAnalogValueCOVIncrement.go | 2 +-
...ACnetConstructedDataLargeAnalogValueDeadband.go | 2 +-
...onstructedDataLargeAnalogValueFaultHighLimit.go | 2 +-
...ConstructedDataLargeAnalogValueFaultLowLimit.go | 2 +-
...CnetConstructedDataLargeAnalogValueHighLimit.go | 2 +-
...ACnetConstructedDataLargeAnalogValueLowLimit.go | 2 +-
...tConstructedDataLargeAnalogValueMaxPresValue.go | 2 +-
...tConstructedDataLargeAnalogValueMinPresValue.go | 2 +-
...tConstructedDataLargeAnalogValuePresentValue.go | 2 +-
...tructedDataLargeAnalogValueRelinquishDefault.go | 2 +-
...netConstructedDataLargeAnalogValueResolution.go | 2 +-
.../model/BACnetConstructedDataLastAccessEvent.go | 2 +-
.../model/BACnetConstructedDataLastAccessPoint.go | 2 +-
.../model/BACnetConstructedDataLastCommandTime.go | 2 +-
.../BACnetConstructedDataLastCredentialAdded.go | 2 +-
...BACnetConstructedDataLastCredentialAddedTime.go | 2 +-
.../BACnetConstructedDataLastCredentialRemoved.go | 2 +-
...CnetConstructedDataLastCredentialRemovedTime.go | 2 +-
.../model/BACnetConstructedDataLastKeyServer.go | 2 +-
.../model/BACnetConstructedDataLastNotifyRecord.go | 2 +-
.../model/BACnetConstructedDataLastPriority.go | 2 +-
.../BACnetConstructedDataLastRestartReason.go | 2 +-
.../model/BACnetConstructedDataLastRestoreTime.go | 2 +-
.../model/BACnetConstructedDataLastStateChange.go | 2 +-
.../model/BACnetConstructedDataLastUseTime.go | 2 +-
.../BACnetConstructedDataLifeSafetyAlarmValues.go | 2 +-
...netConstructedDataLifeSafetyPointAlarmValues.go | 2 +-
.../BACnetConstructedDataLifeSafetyPointAll.go | 2 +-
...netConstructedDataLifeSafetyPointFaultValues.go | 2 +-
...etConstructedDataLifeSafetyPointPresentValue.go | 2 +-
...CnetConstructedDataLifeSafetyZoneAlarmValues.go | 2 +-
.../BACnetConstructedDataLifeSafetyZoneAll.go | 2 +-
...CnetConstructedDataLifeSafetyZoneFaultValues.go | 2 +-
...tructedDataLifeSafetyZoneMaintenanceRequired.go | 2 +-
...netConstructedDataLifeSafetyZonePresentValue.go | 2 +-
.../model/BACnetConstructedDataLiftAll.go | 2 +-
.../model/BACnetConstructedDataLiftFaultSignals.go | 2 +-
.../model/BACnetConstructedDataLightingCommand.go | 2 +-
...onstructedDataLightingCommandDefaultPriority.go | 2 +-
.../BACnetConstructedDataLightingOutputAll.go | 2 +-
...etConstructedDataLightingOutputFeedbackValue.go | 2 +-
...netConstructedDataLightingOutputPresentValue.go | 2 +-
...nstructedDataLightingOutputRelinquishDefault.go | 2 +-
...etConstructedDataLightingOutputTrackingValue.go | 2 +-
.../model/BACnetConstructedDataLimitEnable.go | 2 +-
...BACnetConstructedDataLimitMonitoringInterval.go | 2 +-
.../model/BACnetConstructedDataLinkSpeed.go | 2 +-
.../BACnetConstructedDataLinkSpeedAutonegotiate.go | 2 +-
.../model/BACnetConstructedDataLinkSpeeds.go | 2 +-
.../BACnetConstructedDataListOfGroupMembers.go | 2 +-
...onstructedDataListOfObjectPropertyReferences.go | 2 +-
.../model/BACnetConstructedDataLoadControlAll.go | 2 +-
...BACnetConstructedDataLoadControlPresentValue.go | 2 +-
.../model/BACnetConstructedDataLocalDate.go | 2 +-
.../BACnetConstructedDataLocalForwardingOnly.go | 2 +-
.../model/BACnetConstructedDataLocalTime.go | 2 +-
.../model/BACnetConstructedDataLocation.go | 2 +-
.../model/BACnetConstructedDataLockStatus.go | 2 +-
.../model/BACnetConstructedDataLockout.go | 2 +-
.../BACnetConstructedDataLockoutRelinquishTime.go | 2 +-
.../model/BACnetConstructedDataLogBuffer.go | 2 +-
...BACnetConstructedDataLogDeviceObjectProperty.go | 2 +-
.../model/BACnetConstructedDataLogInterval.go | 2 +-
.../model/BACnetConstructedDataLoggingObject.go | 2 +-
.../model/BACnetConstructedDataLoggingRecord.go | 2 +-
.../model/BACnetConstructedDataLoggingType.go | 2 +-
.../model/BACnetConstructedDataLoopAction.go | 2 +-
.../model/BACnetConstructedDataLoopAll.go | 2 +-
.../model/BACnetConstructedDataLoopPresentValue.go | 2 +-
.../model/BACnetConstructedDataLowDiffLimit.go | 2 +-
.../model/BACnetConstructedDataLowLimit.go | 2 +-
.../model/BACnetConstructedDataLowerDeck.go | 2 +-
.../model/BACnetConstructedDataMACAddress.go | 2 +-
.../model/BACnetConstructedDataMachineRoomID.go | 2 +-
.../BACnetConstructedDataMaintenanceRequired.go | 2 +-
.../model/BACnetConstructedDataMakingCarCall.go | 2 +-
...tConstructedDataManipulatedVariableReference.go | 2 +-
...CnetConstructedDataManualSlaveAddressBinding.go | 2 +-
.../BACnetConstructedDataMaskedAlarmValues.go | 2 +-
.../BACnetConstructedDataMaxAPDULengthAccepted.go | 2 +-
.../model/BACnetConstructedDataMaxActualValue.go | 2 +-
.../BACnetConstructedDataMaxFailedAttempts.go | 2 +-
.../model/BACnetConstructedDataMaxInfoFrames.go | 2 +-
.../model/BACnetConstructedDataMaxMaster.go | 2 +-
.../model/BACnetConstructedDataMaxPresValue.go | 2 +-
.../BACnetConstructedDataMaxSegmentsAccepted.go | 2 +-
.../model/BACnetConstructedDataMaximumOutput.go | 2 +-
.../model/BACnetConstructedDataMaximumValue.go | 2 +-
.../BACnetConstructedDataMaximumValueTimestamp.go | 2 +-
.../model/BACnetConstructedDataMemberOf.go | 2 +-
.../BACnetConstructedDataMemberStatusFlags.go | 2 +-
.../model/BACnetConstructedDataMembers.go | 2 +-
.../model/BACnetConstructedDataMinActualValue.go | 2 +-
.../model/BACnetConstructedDataMinPresValue.go | 2 +-
.../model/BACnetConstructedDataMinimumOffTime.go | 2 +-
.../model/BACnetConstructedDataMinimumOnTime.go | 2 +-
.../model/BACnetConstructedDataMinimumOutput.go | 2 +-
.../model/BACnetConstructedDataMinimumValue.go | 2 +-
.../BACnetConstructedDataMinimumValueTimestamp.go | 2 +-
.../readwrite/model/BACnetConstructedDataMode.go | 2 +-
.../model/BACnetConstructedDataModelName.go | 2 +-
.../model/BACnetConstructedDataModificationDate.go | 2 +-
...netConstructedDataMultiStateInputAlarmValues.go | 2 +-
.../BACnetConstructedDataMultiStateInputAll.go | 2 +-
...netConstructedDataMultiStateInputFaultValues.go | 2 +-
...ConstructedDataMultiStateInputInterfaceValue.go | 2 +-
.../BACnetConstructedDataMultiStateOutputAll.go | 2 +-
...ConstructedDataMultiStateOutputFeedbackValue.go | 2 +-
...onstructedDataMultiStateOutputInterfaceValue.go | 2 +-
...tructedDataMultiStateOutputRelinquishDefault.go | 2 +-
...netConstructedDataMultiStateValueAlarmValues.go | 2 +-
.../BACnetConstructedDataMultiStateValueAll.go | 2 +-
...netConstructedDataMultiStateValueFaultValues.go | 2 +-
...structedDataMultiStateValueRelinquishDefault.go | 2 +-
.../model/BACnetConstructedDataMusterPoint.go | 2 +-
.../BACnetConstructedDataNegativeAccessRules.go | 2 +-
...ConstructedDataNetworkAccessSecurityPolicies.go | 2 +-
.../BACnetConstructedDataNetworkInterfaceName.go | 2 +-
.../model/BACnetConstructedDataNetworkNumber.go | 2 +-
.../BACnetConstructedDataNetworkNumberQuality.go | 2 +-
.../model/BACnetConstructedDataNetworkPortAll.go | 2 +-
...ACnetConstructedDataNetworkPortMaxInfoFrames.go | 2 +-
.../BACnetConstructedDataNetworkPortMaxMaster.go | 2 +-
.../BACnetConstructedDataNetworkSecurityAll.go | 2 +-
.../model/BACnetConstructedDataNetworkType.go | 2 +-
.../BACnetConstructedDataNextStoppingFloor.go | 2 +-
.../model/BACnetConstructedDataNodeSubtype.go | 2 +-
.../model/BACnetConstructedDataNodeType.go | 2 +-
.../BACnetConstructedDataNotificationClass.go | 2 +-
.../BACnetConstructedDataNotificationClassAll.go | 2 +-
...ACnetConstructedDataNotificationForwarderAll.go | 2 +-
.../BACnetConstructedDataNotificationThreshold.go | 2 +-
.../model/BACnetConstructedDataNotifyType.go | 2 +-
.../BACnetConstructedDataNumberOfAPDURetries.go | 2 +-
...onstructedDataNumberOfAuthenticationPolicies.go | 2 +-
.../model/BACnetConstructedDataNumberOfStates.go | 2 +-
.../model/BACnetConstructedDataObjectIdentifier.go | 2 +-
.../model/BACnetConstructedDataObjectList.go | 2 +-
.../model/BACnetConstructedDataObjectName.go | 2 +-
...BACnetConstructedDataObjectPropertyReference.go | 2 +-
.../model/BACnetConstructedDataObjectType.go | 2 +-
.../model/BACnetConstructedDataOccupancyCount.go | 2 +-
.../BACnetConstructedDataOccupancyCountAdjust.go | 2 +-
.../BACnetConstructedDataOccupancyCountEnable.go | 2 +-
.../BACnetConstructedDataOccupancyLowerLimit.go | 2 +-
...etConstructedDataOccupancyLowerLimitEnforced.go | 2 +-
.../model/BACnetConstructedDataOccupancyState.go | 2 +-
.../BACnetConstructedDataOccupancyUpperLimit.go | 2 +-
...etConstructedDataOccupancyUpperLimitEnforced.go | 2 +-
...tConstructedDataOctetStringValuePresentValue.go | 2 +-
...tructedDataOctetStringValueRelinquishDefault.go | 2 +-
.../BACnetConstructedDataOctetstringValueAll.go | 2 +-
.../BACnetConstructedDataOperationDirection.go | 2 +-
.../BACnetConstructedDataOperationExpected.go | 2 +-
.../model/BACnetConstructedDataOptional.go | 2 +-
.../model/BACnetConstructedDataOutOfService.go | 2 +-
.../model/BACnetConstructedDataOutputUnits.go | 2 +-
.../BACnetConstructedDataPacketReorderTime.go | 2 +-
.../model/BACnetConstructedDataPassbackMode.go | 2 +-
.../model/BACnetConstructedDataPassbackTimeout.go | 2 +-
.../model/BACnetConstructedDataPassengerAlarm.go | 2 +-
.../model/BACnetConstructedDataPolarity.go | 2 +-
.../model/BACnetConstructedDataPortFilter.go | 2 +-
.../BACnetConstructedDataPositiveAccessRules.go | 2 +-
...BACnetConstructedDataPositiveIntegerValueAll.go | 2 +-
...structedDataPositiveIntegerValueCOVIncrement.go | 2 +-
...tConstructedDataPositiveIntegerValueDeadband.go | 2 +-
...ructedDataPositiveIntegerValueFaultHighLimit.go | 2 +-
...tructedDataPositiveIntegerValueFaultLowLimit.go | 2 +-
...ConstructedDataPositiveIntegerValueHighLimit.go | 2 +-
...tConstructedDataPositiveIntegerValueLowLimit.go | 2 +-
...structedDataPositiveIntegerValueMaxPresValue.go | 2 +-
...structedDataPositiveIntegerValueMinPresValue.go | 2 +-
...tedDataPositiveIntegerValueRelinquishDefault.go | 2 +-
...onstructedDataPositiveIntegerValueResolution.go | 2 +-
.../readwrite/model/BACnetConstructedDataPower.go | 2 +-
.../model/BACnetConstructedDataPowerMode.go | 2 +-
.../model/BACnetConstructedDataPrescale.go | 2 +-
.../model/BACnetConstructedDataPresentValue.go | 2 +-
.../model/BACnetConstructedDataPriority.go | 2 +-
.../model/BACnetConstructedDataPriorityArray.go | 2 +-
.../BACnetConstructedDataPriorityForWriting.go | 2 +-
.../BACnetConstructedDataProcessIdentifier.go | 2 +-
...BACnetConstructedDataProcessIdentifierFilter.go | 2 +-
.../model/BACnetConstructedDataProfileLocation.go | 2 +-
.../model/BACnetConstructedDataProfileName.go | 2 +-
.../model/BACnetConstructedDataProgramAll.go | 2 +-
.../model/BACnetConstructedDataProgramChange.go | 2 +-
.../model/BACnetConstructedDataProgramLocation.go | 2 +-
.../model/BACnetConstructedDataProgramState.go | 2 +-
.../model/BACnetConstructedDataPropertyList.go | 2 +-
.../BACnetConstructedDataProportionalConstant.go | 2 +-
...CnetConstructedDataProportionalConstantUnits.go | 2 +-
.../model/BACnetConstructedDataProtocolLevel.go | 2 +-
...tConstructedDataProtocolObjectTypesSupported.go | 2 +-
.../model/BACnetConstructedDataProtocolRevision.go | 2 +-
...CnetConstructedDataProtocolServicesSupported.go | 2 +-
.../model/BACnetConstructedDataProtocolVersion.go | 2 +-
...CnetConstructedDataPulseConverterAdjustValue.go | 2 +-
.../BACnetConstructedDataPulseConverterAll.go | 2 +-
...netConstructedDataPulseConverterPresentValue.go | 2 +-
.../model/BACnetConstructedDataPulseRate.go | 2 +-
.../model/BACnetConstructedDataReadOnly.go | 2 +-
.../model/BACnetConstructedDataReasonForDisable.go | 2 +-
.../model/BACnetConstructedDataReasonForHalt.go | 2 +-
.../model/BACnetConstructedDataRecipientList.go | 2 +-
.../model/BACnetConstructedDataRecordCount.go | 2 +-
...ACnetConstructedDataRecordsSinceNotification.go | 2 +-
.../model/BACnetConstructedDataReferencePort.go | 2 +-
.../BACnetConstructedDataRegisteredCarCall.go | 2 +-
.../model/BACnetConstructedDataReliability.go | 2 +-
...tConstructedDataReliabilityEvaluationInhibit.go | 2 +-
.../BACnetConstructedDataRelinquishDefault.go | 2 +-
.../model/BACnetConstructedDataRepresents.go | 2 +-
.../BACnetConstructedDataRequestedShedLevel.go | 2 +-
...BACnetConstructedDataRequestedUpdateInterval.go | 2 +-
.../model/BACnetConstructedDataRequired.go | 2 +-
.../model/BACnetConstructedDataResolution.go | 2 +-
...ConstructedDataRestartNotificationRecipients.go | 2 +-
.../BACnetConstructedDataRestoreCompletionTime.go | 2 +-
.../BACnetConstructedDataRestorePreparationTime.go | 2 +-
.../model/BACnetConstructedDataRoutingTable.go | 2 +-
.../readwrite/model/BACnetConstructedDataScale.go | 2 +-
.../model/BACnetConstructedDataScaleFactor.go | 2 +-
.../model/BACnetConstructedDataScheduleAll.go | 2 +-
.../model/BACnetConstructedDataScheduleDefault.go | 2 +-
.../BACnetConstructedDataSchedulePresentValue.go | 2 +-
.../model/BACnetConstructedDataSecuredStatus.go | 2 +-
.../BACnetConstructedDataSecurityPDUTimeout.go | 2 +-
.../BACnetConstructedDataSecurityTimeWindow.go | 2 +-
.../BACnetConstructedDataSegmentationSupported.go | 2 +-
.../model/BACnetConstructedDataSerialNumber.go | 2 +-
.../model/BACnetConstructedDataSetpoint.go | 2 +-
.../BACnetConstructedDataSetpointReference.go | 2 +-
.../model/BACnetConstructedDataSetting.go | 2 +-
.../model/BACnetConstructedDataShedDuration.go | 2 +-
.../BACnetConstructedDataShedLevelDescriptions.go | 2 +-
.../model/BACnetConstructedDataShedLevels.go | 2 +-
.../model/BACnetConstructedDataSilenced.go | 2 +-
.../BACnetConstructedDataSlaveAddressBinding.go | 2 +-
.../model/BACnetConstructedDataSlaveProxyEnable.go | 2 +-
.../model/BACnetConstructedDataStartTime.go | 2 +-
.../BACnetConstructedDataStateChangeValues.go | 2 +-
.../model/BACnetConstructedDataStateDescription.go | 2 +-
.../model/BACnetConstructedDataStateText.go | 2 +-
.../model/BACnetConstructedDataStatusFlags.go | 2 +-
.../model/BACnetConstructedDataStopTime.go | 2 +-
.../model/BACnetConstructedDataStopWhenFull.go | 2 +-
.../model/BACnetConstructedDataStrikeCount.go | 2 +-
.../BACnetConstructedDataStructuredObjectList.go | 2 +-
.../BACnetConstructedDataStructuredViewAll.go | 2 +-
.../BACnetConstructedDataSubordinateAnnotations.go | 2 +-
.../model/BACnetConstructedDataSubordinateList.go | 2 +-
.../BACnetConstructedDataSubordinateNodeTypes.go | 2 +-
...ACnetConstructedDataSubordinateRelationships.go | 2 +-
.../model/BACnetConstructedDataSubordinateTags.go | 2 +-
.../BACnetConstructedDataSubscribedRecipients.go | 2 +-
.../BACnetConstructedDataSupportedFormatClasses.go | 2 +-
.../model/BACnetConstructedDataSupportedFormats.go | 2 +-
...etConstructedDataSupportedSecurityAlgorithms.go | 2 +-
.../model/BACnetConstructedDataSystemStatus.go | 2 +-
.../readwrite/model/BACnetConstructedDataTags.go | 2 +-
.../model/BACnetConstructedDataThreatAuthority.go | 2 +-
.../model/BACnetConstructedDataThreatLevel.go | 2 +-
.../model/BACnetConstructedDataTimeDelay.go | 2 +-
.../model/BACnetConstructedDataTimeDelayNormal.go | 2 +-
.../BACnetConstructedDataTimeOfActiveTimeReset.go | 2 +-
.../BACnetConstructedDataTimeOfDeviceRestart.go | 2 +-
.../BACnetConstructedDataTimeOfStateCountReset.go | 2 +-
.../BACnetConstructedDataTimeOfStrikeCountReset.go | 2 +-
...tConstructedDataTimePatternValuePresentValue.go | 2 +-
...tructedDataTimePatternValueRelinquishDefault.go | 2 +-
...etConstructedDataTimeSynchronizationInterval.go | 2 +-
...ConstructedDataTimeSynchronizationRecipients.go | 2 +-
.../model/BACnetConstructedDataTimeValueAll.go | 2 +-
.../BACnetConstructedDataTimeValuePresentValue.go | 2 +-
...netConstructedDataTimeValueRelinquishDefault.go | 2 +-
.../BACnetConstructedDataTimepatternValueAll.go | 2 +-
.../model/BACnetConstructedDataTimerAlarmValues.go | 2 +-
.../model/BACnetConstructedDataTimerAll.go | 2 +-
.../BACnetConstructedDataTimerMaxPresValue.go | 2 +-
.../BACnetConstructedDataTimerMinPresValue.go | 2 +-
.../model/BACnetConstructedDataTimerResolution.go | 2 +-
.../model/BACnetConstructedDataTimerRunning.go | 2 +-
.../model/BACnetConstructedDataTimerState.go | 2 +-
.../model/BACnetConstructedDataTotalRecordCount.go | 2 +-
.../model/BACnetConstructedDataTraceFlag.go | 2 +-
.../model/BACnetConstructedDataTrackingValue.go | 2 +-
...tConstructedDataTransactionNotificationClass.go | 2 +-
.../model/BACnetConstructedDataTransition.go | 2 +-
.../model/BACnetConstructedDataTrendLogAll.go | 2 +-
.../BACnetConstructedDataTrendLogLogBuffer.go | 2 +-
...nstructedDataTrendLogLogDeviceObjectProperty.go | 2 +-
.../BACnetConstructedDataTrendLogMultipleAll.go | 2 +-
...CnetConstructedDataTrendLogMultipleLogBuffer.go | 2 +-
...dDataTrendLogMultipleLogDeviceObjectProperty.go | 2 +-
.../model/BACnetConstructedDataTrigger.go | 2 +-
.../model/BACnetConstructedDataUTCOffset.go | 2 +-
...structedDataUTCTimeSynchronizationRecipients.go | 2 +-
.../readwrite/model/BACnetConstructedDataUnits.go | 2 +-
.../model/BACnetConstructedDataUnspecified.go | 2 +-
.../model/BACnetConstructedDataUpdateInterval.go | 2 +-
.../BACnetConstructedDataUpdateKeySetTimeout.go | 2 +-
.../model/BACnetConstructedDataUpdateTime.go | 2 +-
.../BACnetConstructedDataUserExternalIdentifier.go | 2 +-
...ACnetConstructedDataUserInformationReference.go | 2 +-
.../model/BACnetConstructedDataUserName.go | 2 +-
.../model/BACnetConstructedDataUserType.go | 2 +-
.../model/BACnetConstructedDataUsesRemaining.go | 2 +-
.../BACnetConstructedDataVTClassesSupported.go | 2 +-
.../model/BACnetConstructedDataValidSamples.go | 2 +-
.../BACnetConstructedDataValueBeforeChange.go | 2 +-
.../model/BACnetConstructedDataValueChangeTime.go | 2 +-
.../model/BACnetConstructedDataValueSet.go | 2 +-
.../model/BACnetConstructedDataValueSource.go | 2 +-
.../model/BACnetConstructedDataValueSourceArray.go | 2 +-
.../model/BACnetConstructedDataVarianceValue.go | 2 +-
.../model/BACnetConstructedDataVendorIdentifier.go | 2 +-
.../model/BACnetConstructedDataVendorName.go | 2 +-
.../model/BACnetConstructedDataVerificationTime.go | 2 +-
.../BACnetConstructedDataVirtualMACAddressTable.go | 2 +-
.../model/BACnetConstructedDataWeeklySchedule.go | 2 +-
.../model/BACnetConstructedDataWindowInterval.go | 2 +-
.../model/BACnetConstructedDataWindowSamples.go | 2 +-
.../model/BACnetConstructedDataWriteStatus.go | 2 +-
.../model/BACnetConstructedDataZoneFrom.go | 2 +-
.../model/BACnetConstructedDataZoneMembers.go | 2 +-
.../readwrite/model/BACnetConstructedDataZoneTo.go | 2 +-
.../bacnetip/readwrite/model/BACnetContextTag.go | 4 +-
.../readwrite/model/BACnetContextTagBitString.go | 2 +-
.../readwrite/model/BACnetContextTagBoolean.go | 2 +-
.../model/BACnetContextTagCharacterString.go | 2 +-
.../readwrite/model/BACnetContextTagDate.go | 2 +-
.../readwrite/model/BACnetContextTagDouble.go | 2 +-
.../readwrite/model/BACnetContextTagEnumerated.go | 2 +-
.../readwrite/model/BACnetContextTagNull.go | 2 +-
.../model/BACnetContextTagObjectIdentifier.go | 2 +-
.../readwrite/model/BACnetContextTagOctetString.go | 2 +-
.../readwrite/model/BACnetContextTagReal.go | 2 +-
.../model/BACnetContextTagSignedInteger.go | 2 +-
.../readwrite/model/BACnetContextTagTime.go | 2 +-
.../readwrite/model/BACnetContextTagUnknown.go | 2 +-
.../model/BACnetContextTagUnsignedInteger.go | 2 +-
.../model/BACnetCredentialAuthenticationFactor.go | 2 +-
.../readwrite/model/BACnetDailySchedule.go | 2 +-
.../bacnetip/readwrite/model/BACnetDataType.go | 4 +-
.../bacnetip/readwrite/model/BACnetDateRange.go | 2 +-
.../readwrite/model/BACnetDateRangeEnclosed.go | 2 +-
.../bacnetip/readwrite/model/BACnetDateTime.go | 2 +-
.../readwrite/model/BACnetDateTimeEnclosed.go | 2 +-
.../bacnetip/readwrite/model/BACnetDaysOfWeek.go | 4 +-
.../readwrite/model/BACnetDaysOfWeekTagged.go | 30 +++++-----
.../bacnetip/readwrite/model/BACnetDestination.go | 2 +-
.../model/BACnetDeviceObjectPropertyReference.go | 2 +-
.../BACnetDeviceObjectPropertyReferenceEnclosed.go | 2 +-
.../readwrite/model/BACnetDeviceObjectReference.go | 2 +-
.../model/BACnetDeviceObjectReferenceEnclosed.go | 2 +-
.../bacnetip/readwrite/model/BACnetDeviceStatus.go | 4 +-
.../readwrite/model/BACnetDeviceStatusTagged.go | 6 +-
.../readwrite/model/BACnetDoorAlarmState.go | 4 +-
.../readwrite/model/BACnetDoorAlarmStateTagged.go | 6 +-
.../readwrite/model/BACnetDoorSecuredStatus.go | 4 +-
.../model/BACnetDoorSecuredStatusTagged.go | 2 +-
.../bacnetip/readwrite/model/BACnetDoorStatus.go | 4 +-
.../readwrite/model/BACnetDoorStatusTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetDoorValue.go | 4 +-
.../readwrite/model/BACnetDoorValueTagged.go | 2 +-
.../readwrite/model/BACnetEngineeringUnits.go | 4 +-
.../model/BACnetEngineeringUnitsTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetError.go | 4 +-
.../bacnetip/readwrite/model/BACnetErrorGeneral.go | 2 +-
.../readwrite/model/BACnetEscalatorFault.go | 4 +-
.../readwrite/model/BACnetEscalatorFaultTagged.go | 6 +-
.../readwrite/model/BACnetEscalatorMode.go | 4 +-
.../readwrite/model/BACnetEscalatorModeTagged.go | 6 +-
.../model/BACnetEscalatorOperationDirection.go | 4 +-
.../BACnetEscalatorOperationDirectionTagged.go | 6 +-
.../readwrite/model/BACnetEventLogRecord.go | 2 +-
.../model/BACnetEventLogRecordLogDatum.go | 4 +-
.../model/BACnetEventLogRecordLogDatumLogStatus.go | 2 +-
.../BACnetEventLogRecordLogDatumNotification.go | 2 +-
.../BACnetEventLogRecordLogDatumTimeChange.go | 2 +-
.../model/BACnetEventNotificationSubscription.go | 2 +-
.../readwrite/model/BACnetEventParameter.go | 4 +-
.../model/BACnetEventParameterAccessEvent.go | 2 +-
...tEventParameterAccessEventListOfAccessEvents.go | 2 +-
.../model/BACnetEventParameterBufferReady.go | 2 +-
.../model/BACnetEventParameterChangeOfBitstring.go | 2 +-
...ameterChangeOfBitstringListOfBitstringValues.go | 2 +-
.../BACnetEventParameterChangeOfCharacterString.go | 2 +-
...eterChangeOfCharacterStringListOfAlarmValues.go | 2 +-
.../BACnetEventParameterChangeOfDiscreteValue.go | 2 +-
.../BACnetEventParameterChangeOfLifeSavety.go | 2 +-
...ParameterChangeOfLifeSavetyListOfAlarmValues.go | 2 +-
...hangeOfLifeSavetyListOfLifeSavetyAlarmValues.go | 2 +-
.../model/BACnetEventParameterChangeOfState.go | 2 +-
...ACnetEventParameterChangeOfStateListOfValues.go | 2 +-
.../BACnetEventParameterChangeOfStatusFlags.go | 2 +-
.../model/BACnetEventParameterChangeOfTimer.go | 2 +-
.../BACnetEventParameterChangeOfTimerAlarmValue.go | 2 +-
.../model/BACnetEventParameterChangeOfValue.go | 2 +-
...BACnetEventParameterChangeOfValueCivCriteria.go | 4 +-
...ventParameterChangeOfValueCivCriteriaBitmask.go | 2 +-
...fValueCivCriteriaReferencedPropertyIncrement.go | 2 +-
.../model/BACnetEventParameterCommandFailure.go | 2 +-
.../model/BACnetEventParameterDoubleOutOfRange.go | 2 +-
.../model/BACnetEventParameterExtended.go | 2 +-
.../BACnetEventParameterExtendedParameters.go | 2 +-
.../model/BACnetEventParameterFloatingLimit.go | 2 +-
.../readwrite/model/BACnetEventParameterNone.go | 2 +-
.../model/BACnetEventParameterOutOfRange.go | 2 +-
.../model/BACnetEventParameterSignedOutOfRange.go | 2 +-
.../BACnetEventParameterUnsignedOutOfRange.go | 2 +-
.../model/BACnetEventParameterUnsignedRange.go | 2 +-
.../readwrite/model/BACnetEventPriorities.go | 2 +-
.../bacnetip/readwrite/model/BACnetEventState.go | 4 +-
.../readwrite/model/BACnetEventStateTagged.go | 6 +-
.../readwrite/model/BACnetEventSummariesList.go | 2 +-
.../bacnetip/readwrite/model/BACnetEventSummary.go | 2 +-
.../readwrite/model/BACnetEventTimestamps.go | 2 +-
.../model/BACnetEventTimestampsEnclosed.go | 2 +-
.../readwrite/model/BACnetEventTransitionBits.go | 4 +-
.../model/BACnetEventTransitionBitsTagged.go | 14 ++---
.../bacnetip/readwrite/model/BACnetEventType.go | 4 +-
.../readwrite/model/BACnetEventTypeTagged.go | 6 +-
.../readwrite/model/BACnetFaultParameter.go | 4 +-
.../BACnetFaultParameterFaultCharacterString.go | 2 +-
...rameterFaultCharacterStringListOfFaultValues.go | 2 +-
.../model/BACnetFaultParameterFaultExtended.go | 2 +-
.../BACnetFaultParameterFaultExtendedParameters.go | 2 +-
...etFaultParameterFaultExtendedParametersEntry.go | 4 +-
...rameterFaultExtendedParametersEntryBitString.go | 2 +-
...ParameterFaultExtendedParametersEntryBoolean.go | 2 +-
...rFaultExtendedParametersEntryCharacterString.go | 2 +-
...ultParameterFaultExtendedParametersEntryDate.go | 2 +-
...tParameterFaultExtendedParametersEntryDouble.go | 2 +-
...ameterFaultExtendedParametersEntryEnumerated.go | 2 +-
...ParameterFaultExtendedParametersEntryInteger.go | 2 +-
...ultParameterFaultExtendedParametersEntryNull.go | 2 +-
...FaultExtendedParametersEntryObjectidentifier.go | 2 +-
...meterFaultExtendedParametersEntryOctetString.go | 2 +-
...ultParameterFaultExtendedParametersEntryReal.go | 2 +-
...rameterFaultExtendedParametersEntryReference.go | 2 +-
...ultParameterFaultExtendedParametersEntryTime.go | 2 +-
...arameterFaultExtendedParametersEntryUnsigned.go | 2 +-
.../model/BACnetFaultParameterFaultLifeSafety.go | 2 +-
...ultParameterFaultLifeSafetyListOfFaultValues.go | 2 +-
.../model/BACnetFaultParameterFaultListed.go | 2 +-
.../model/BACnetFaultParameterFaultOutOfRange.go | 2 +-
...tFaultParameterFaultOutOfRangeMaxNormalValue.go | 4 +-
...ParameterFaultOutOfRangeMaxNormalValueDouble.go | 2 +-
...arameterFaultOutOfRangeMaxNormalValueInteger.go | 2 +-
...ltParameterFaultOutOfRangeMaxNormalValueReal.go | 2 +-
...rameterFaultOutOfRangeMaxNormalValueUnsigned.go | 2 +-
...tFaultParameterFaultOutOfRangeMinNormalValue.go | 4 +-
...ParameterFaultOutOfRangeMinNormalValueDouble.go | 2 +-
...arameterFaultOutOfRangeMinNormalValueInteger.go | 2 +-
...ltParameterFaultOutOfRangeMinNormalValueReal.go | 2 +-
...rameterFaultOutOfRangeMinNormalValueUnsigned.go | 2 +-
.../model/BACnetFaultParameterFaultState.go | 2 +-
...netFaultParameterFaultStateListOfFaultValues.go | 2 +-
.../model/BACnetFaultParameterFaultStatusFlags.go | 2 +-
.../readwrite/model/BACnetFaultParameterNone.go | 2 +-
.../bacnetip/readwrite/model/BACnetFaultType.go | 4 +-
.../readwrite/model/BACnetFaultTypeTagged.go | 2 +-
.../readwrite/model/BACnetFileAccessMethod.go | 4 +-
.../model/BACnetFileAccessMethodTagged.go | 2 +-
.../readwrite/model/BACnetGroupChannelValue.go | 2 +-
.../readwrite/model/BACnetGroupChannelValueList.go | 2 +-
.../bacnetip/readwrite/model/BACnetHostAddress.go | 4 +-
.../readwrite/model/BACnetHostAddressEnclosed.go | 2 +-
.../readwrite/model/BACnetHostAddressIpAddress.go | 2 +-
.../readwrite/model/BACnetHostAddressName.go | 2 +-
.../readwrite/model/BACnetHostAddressNull.go | 2 +-
.../bacnetip/readwrite/model/BACnetHostNPort.go | 2 +-
.../readwrite/model/BACnetHostNPortEnclosed.go | 2 +-
.../bacnetip/readwrite/model/BACnetIPMode.go | 4 +-
.../bacnetip/readwrite/model/BACnetIPModeTagged.go | 2 +-
.../readwrite/model/BACnetKeyIdentifier.go | 2 +-
.../readwrite/model/BACnetLandingCallStatus.go | 2 +-
.../model/BACnetLandingCallStatusCommand.go | 4 +-
.../BACnetLandingCallStatusCommandDestination.go | 2 +-
.../BACnetLandingCallStatusCommandDirection.go | 2 +-
.../readwrite/model/BACnetLandingDoorStatus.go | 2 +-
.../BACnetLandingDoorStatusLandingDoorsList.go | 2 +-
...BACnetLandingDoorStatusLandingDoorsListEntry.go | 2 +-
.../readwrite/model/BACnetLifeSafetyMode.go | 4 +-
.../readwrite/model/BACnetLifeSafetyModeTagged.go | 6 +-
.../readwrite/model/BACnetLifeSafetyOperation.go | 4 +-
.../model/BACnetLifeSafetyOperationTagged.go | 6 +-
.../readwrite/model/BACnetLifeSafetyState.go | 4 +-
.../readwrite/model/BACnetLifeSafetyStateTagged.go | 6 +-
.../readwrite/model/BACnetLiftCarCallList.go | 2 +-
.../model/BACnetLiftCarCallListFloorList.go | 2 +-
.../readwrite/model/BACnetLiftCarDirection.go | 4 +-
.../model/BACnetLiftCarDirectionTagged.go | 6 +-
.../readwrite/model/BACnetLiftCarDoorCommand.go | 4 +-
.../model/BACnetLiftCarDoorCommandTagged.go | 2 +-
.../readwrite/model/BACnetLiftCarDriveStatus.go | 4 +-
.../model/BACnetLiftCarDriveStatusTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetLiftCarMode.go | 4 +-
.../readwrite/model/BACnetLiftCarModeTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetLiftFault.go | 4 +-
.../readwrite/model/BACnetLiftFaultTagged.go | 6 +-
.../readwrite/model/BACnetLiftGroupMode.go | 4 +-
.../readwrite/model/BACnetLiftGroupModeTagged.go | 2 +-
.../readwrite/model/BACnetLightingCommand.go | 2 +-
.../model/BACnetLightingCommandEnclosed.go | 2 +-
.../readwrite/model/BACnetLightingInProgress.go | 4 +-
.../model/BACnetLightingInProgressTagged.go | 2 +-
.../readwrite/model/BACnetLightingOperation.go | 4 +-
.../model/BACnetLightingOperationTagged.go | 6 +-
.../readwrite/model/BACnetLightingTransition.go | 4 +-
.../model/BACnetLightingTransitionTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetLimitEnable.go | 4 +-
.../readwrite/model/BACnetLimitEnableTagged.go | 10 ++--
.../bacnetip/readwrite/model/BACnetLockStatus.go | 4 +-
.../readwrite/model/BACnetLockStatusTagged.go | 2 +-
.../bacnetip/readwrite/model/BACnetLogData.go | 4 +-
.../readwrite/model/BACnetLogDataLogData.go | 2 +-
.../readwrite/model/BACnetLogDataLogDataEntry.go | 4 +-
.../model/BACnetLogDataLogDataEntryAnyValue.go | 2 +-
.../BACnetLogDataLogDataEntryBitStringValue.go | 2 +-
.../model/BACnetLogDataLogDataEntryBooleanValue.go | 2 +-
.../BACnetLogDataLogDataEntryEnumeratedValue.go | 2 +-
.../model/BACnetLogDataLogDataEntryFailure.go | 2 +-
.../model/BACnetLogDataLogDataEntryIntegerValue.go | 2 +-
.../model/BACnetLogDataLogDataEntryNullValue.go | 2 +-
.../model/BACnetLogDataLogDataEntryRealValue.go | 2 +-
.../BACnetLogDataLogDataEntryUnsignedValue.go | 2 +-
.../model/BACnetLogDataLogDataTimeChange.go | 2 +-
.../readwrite/model/BACnetLogDataLogStatus.go | 2 +-
.../readwrite/model/BACnetLogMultipleRecord.go | 2 +-
.../bacnetip/readwrite/model/BACnetLogRecord.go | 2 +-
.../readwrite/model/BACnetLogRecordLogDatum.go | 4 +-
.../model/BACnetLogRecordLogDatumAnyValue.go | 2 +-
.../model/BACnetLogRecordLogDatumBitStringValue.go | 2 +-
.../model/BACnetLogRecordLogDatumBooleanValue.go | 2 +-
.../BACnetLogRecordLogDatumEnumeratedValue.go | 2 +-
.../model/BACnetLogRecordLogDatumFailure.go | 2 +-
.../model/BACnetLogRecordLogDatumIntegerValue.go | 2 +-
.../model/BACnetLogRecordLogDatumLogStatus.go | 2 +-
.../model/BACnetLogRecordLogDatumNullValue.go | 2 +-
.../model/BACnetLogRecordLogDatumRealValue.go | 2 +-
.../model/BACnetLogRecordLogDatumTimeChange.go | 2 +-
.../model/BACnetLogRecordLogDatumUnsignedValue.go | 2 +-
.../bacnetip/readwrite/model/BACnetLogStatus.go | 4 +-
.../readwrite/model/BACnetLogStatusTagged.go | 14 ++---
.../bacnetip/readwrite/model/BACnetLoggingType.go | 4 +-
.../readwrite/model/BACnetLoggingTypeTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetMaintenance.go | 4 +-
.../readwrite/model/BACnetMaintenanceTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetNameValue.go | 2 +-
.../readwrite/model/BACnetNameValueCollection.go | 2 +-
.../readwrite/model/BACnetNetworkNumberQuality.go | 4 +-
.../model/BACnetNetworkNumberQualityTagged.go | 2 +-
.../readwrite/model/BACnetNetworkPortCommand.go | 4 +-
.../model/BACnetNetworkPortCommandTagged.go | 6 +-
.../readwrite/model/BACnetNetworkSecurityPolicy.go | 2 +-
.../bacnetip/readwrite/model/BACnetNetworkType.go | 4 +-
.../readwrite/model/BACnetNetworkTypeTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetNodeType.go | 4 +-
.../readwrite/model/BACnetNodeTypeTagged.go | 2 +-
.../model/BACnetNotificationParameters.go | 4 +-
.../BACnetNotificationParametersAccessEvent.go | 2 +-
.../BACnetNotificationParametersBufferReady.go | 2 +-
...ACnetNotificationParametersChangeOfBitString.go | 2 +-
...otificationParametersChangeOfCharacterString.go | 2 +-
...tNotificationParametersChangeOfDiscreteValue.go | 2 +-
...ationParametersChangeOfDiscreteValueNewValue.go | 4 +-
...rametersChangeOfDiscreteValueNewValueBoolean.go | 2 +-
...ChangeOfDiscreteValueNewValueCharacterString.go | 2 +-
...ametersChangeOfDiscreteValueNewValueDatetime.go | 2 +-
...etersChangeOfDiscreteValueNewValueEnumerated.go | 2 +-
...rametersChangeOfDiscreteValueNewValueInteger.go | 2 +-
...hangeOfDiscreteValueNewValueObjectidentifier.go | 2 +-
...metersChangeOfDiscreteValueNewValueOctetDate.go | 2 +-
...tersChangeOfDiscreteValueNewValueOctetString.go | 2 +-
...metersChangeOfDiscreteValueNewValueOctetTime.go | 2 +-
...ametersChangeOfDiscreteValueNewValueUnsigned.go | 2 +-
...CnetNotificationParametersChangeOfLifeSafety.go | 2 +-
...netNotificationParametersChangeOfReliability.go | 2 +-
.../BACnetNotificationParametersChangeOfState.go | 2 +-
...netNotificationParametersChangeOfStatusFlags.go | 2 +-
.../BACnetNotificationParametersChangeOfTimer.go | 2 +-
.../BACnetNotificationParametersChangeOfValue.go | 2 +-
...tNotificationParametersChangeOfValueNewValue.go | 4 +-
...onParametersChangeOfValueNewValueChangedBits.go | 2 +-
...nParametersChangeOfValueNewValueChangedValue.go | 2 +-
.../BACnetNotificationParametersCommandFailure.go | 2 +-
...BACnetNotificationParametersComplexEventType.go | 2 +-
...BACnetNotificationParametersDoubleOutOfRange.go | 2 +-
.../model/BACnetNotificationParametersExtended.go | 2 +-
...CnetNotificationParametersExtendedParameters.go | 2 +-
.../BACnetNotificationParametersFloatingLimit.go | 2 +-
.../BACnetNotificationParametersOutOfRange.go | 2 +-
...BACnetNotificationParametersSignedOutOfRange.go | 2 +-
...CnetNotificationParametersUnsignedOutOfRange.go | 2 +-
.../BACnetNotificationParametersUnsignedRange.go | 2 +-
.../bacnetip/readwrite/model/BACnetNotifyType.go | 4 +-
.../readwrite/model/BACnetNotifyTypeTagged.go | 2 +-
.../model/BACnetObjectPropertyReference.go | 2 +-
.../model/BACnetObjectPropertyReferenceEnclosed.go | 2 +-
.../bacnetip/readwrite/model/BACnetObjectType.go | 4 +-
.../readwrite/model/BACnetObjectTypeTagged.go | 6 +-
.../readwrite/model/BACnetObjectTypesSupported.go | 4 +-
.../model/BACnetObjectTypesSupportedTagged.go | 42 +++++++-------
.../bacnetip/readwrite/model/BACnetOpeningTag.go | 2 +-
.../readwrite/model/BACnetOptionalBinaryPV.go | 4 +-
.../readwrite/model/BACnetOptionalBinaryPVNull.go | 2 +-
.../readwrite/model/BACnetOptionalBinaryPVValue.go | 2 +-
.../model/BACnetOptionalCharacterString.go | 4 +-
.../model/BACnetOptionalCharacterStringNull.go | 2 +-
.../model/BACnetOptionalCharacterStringValue.go | 2 +-
.../bacnetip/readwrite/model/BACnetOptionalREAL.go | 4 +-
.../readwrite/model/BACnetOptionalREALNull.go | 2 +-
.../readwrite/model/BACnetOptionalREALValue.go | 2 +-
.../readwrite/model/BACnetOptionalUnsigned.go | 4 +-
.../readwrite/model/BACnetOptionalUnsignedNull.go | 2 +-
.../readwrite/model/BACnetOptionalUnsignedValue.go | 2 +-
.../bacnetip/readwrite/model/BACnetPolarity.go | 4 +-
.../readwrite/model/BACnetPolarityTagged.go | 2 +-
.../readwrite/model/BACnetPortPermission.go | 2 +-
.../bacnetip/readwrite/model/BACnetPrescale.go | 2 +-
.../readwrite/model/BACnetPriorityArray.go | 66 +++++++++++-----------
.../readwrite/model/BACnetPriorityValue.go | 4 +-
.../model/BACnetPriorityValueBitString.go | 2 +-
.../readwrite/model/BACnetPriorityValueBoolean.go | 2 +-
.../model/BACnetPriorityValueCharacterString.go | 2 +-
.../model/BACnetPriorityValueConstructedValue.go | 2 +-
.../readwrite/model/BACnetPriorityValueDate.go | 2 +-
.../readwrite/model/BACnetPriorityValueDateTime.go | 2 +-
.../readwrite/model/BACnetPriorityValueDouble.go | 2 +-
.../model/BACnetPriorityValueEnumerated.go | 2 +-
.../readwrite/model/BACnetPriorityValueInteger.go | 2 +-
.../readwrite/model/BACnetPriorityValueNull.go | 2 +-
.../model/BACnetPriorityValueObjectidentifier.go | 2 +-
.../model/BACnetPriorityValueOctetString.go | 2 +-
.../readwrite/model/BACnetPriorityValueReal.go | 2 +-
.../readwrite/model/BACnetPriorityValueTime.go | 2 +-
.../readwrite/model/BACnetPriorityValueUnsigned.go | 2 +-
.../readwrite/model/BACnetProcessIdSelection.go | 4 +-
.../model/BACnetProcessIdSelectionNull.go | 2 +-
.../model/BACnetProcessIdSelectionValue.go | 2 +-
.../bacnetip/readwrite/model/BACnetProgramError.go | 4 +-
.../readwrite/model/BACnetProgramErrorTagged.go | 6 +-
.../readwrite/model/BACnetProgramRequest.go | 4 +-
.../readwrite/model/BACnetProgramRequestTagged.go | 2 +-
.../bacnetip/readwrite/model/BACnetProgramState.go | 4 +-
.../readwrite/model/BACnetProgramStateTagged.go | 2 +-
.../readwrite/model/BACnetPropertyAccessResult.go | 4 +-
.../BACnetPropertyAccessResultAccessResult.go | 4 +-
...yAccessResultAccessResultPropertyAccessError.go | 2 +-
...ropertyAccessResultAccessResultPropertyValue.go | 2 +-
.../readwrite/model/BACnetPropertyIdentifier.go | 4 +-
.../model/BACnetPropertyIdentifierTagged.go | 6 +-
.../readwrite/model/BACnetPropertyReference.go | 2 +-
.../model/BACnetPropertyReferenceEnclosed.go | 2 +-
.../model/BACnetPropertyStateActionUnknown.go | 2 +-
.../readwrite/model/BACnetPropertyStates.go | 4 +-
.../BACnetPropertyStatesAccessCredentialDisable.go | 2 +-
...tPropertyStatesAccessCredentialDisableReason.go | 2 +-
.../model/BACnetPropertyStatesAccessEvent.go | 2 +-
.../readwrite/model/BACnetPropertyStatesAction.go | 2 +-
.../BACnetPropertyStatesAuthenticationStatus.go | 2 +-
.../model/BACnetPropertyStatesBackupState.go | 2 +-
.../model/BACnetPropertyStatesBacnetIpMode.go | 2 +-
.../BACnetPropertyStatesBinaryLightningValue.go | 2 +-
.../model/BACnetPropertyStatesBinaryValue.go | 2 +-
.../readwrite/model/BACnetPropertyStatesBoolean.go | 2 +-
.../model/BACnetPropertyStatesDoorAlarmState.go | 2 +-
.../model/BACnetPropertyStatesDoorSecuredStatus.go | 2 +-
.../model/BACnetPropertyStatesDoorStatus.go | 2 +-
.../model/BACnetPropertyStatesDoorValue.go | 2 +-
.../model/BACnetPropertyStatesEnclosed.go | 2 +-
.../model/BACnetPropertyStatesEscalatorFault.go | 2 +-
.../model/BACnetPropertyStatesEscalatorMode.go | 2 +-
...netPropertyStatesEscalatorOperationDirection.go | 2 +-
.../model/BACnetPropertyStatesEventType.go | 2 +-
.../model/BACnetPropertyStatesExtendedValue.go | 2 +-
.../model/BACnetPropertyStatesFileAccessMethod.go | 2 +-
.../model/BACnetPropertyStatesIntegerValue.go | 2 +-
.../model/BACnetPropertyStatesLifeSafetyMode.go | 2 +-
.../BACnetPropertyStatesLifeSafetyOperations.go | 2 +-
.../model/BACnetPropertyStatesLifeSafetyState.go | 2 +-
.../model/BACnetPropertyStatesLiftCarDirection.go | 2 +-
.../BACnetPropertyStatesLiftCarDoorCommand.go | 2 +-
.../BACnetPropertyStatesLiftCarDriveStatus.go | 2 +-
.../model/BACnetPropertyStatesLiftCarMode.go | 2 +-
.../model/BACnetPropertyStatesLiftFault.go | 2 +-
.../model/BACnetPropertyStatesLiftGroupMode.go | 2 +-
.../BACnetPropertyStatesLightningInProgress.go | 2 +-
.../BACnetPropertyStatesLightningOperation.go | 2 +-
.../BACnetPropertyStatesLightningTransition.go | 2 +-
.../model/BACnetPropertyStatesLockStatus.go | 2 +-
.../model/BACnetPropertyStatesMaintenance.go | 2 +-
.../BACnetPropertyStatesNetworkNumberQuality.go | 2 +-
.../BACnetPropertyStatesNetworkPortCommand.go | 2 +-
.../model/BACnetPropertyStatesNetworkType.go | 2 +-
.../model/BACnetPropertyStatesNodeType.go | 2 +-
.../model/BACnetPropertyStatesNotifyType.go | 2 +-
.../model/BACnetPropertyStatesPolarity.go | 2 +-
.../model/BACnetPropertyStatesProgramChange.go | 2 +-
.../model/BACnetPropertyStatesProtocolLevel.go | 2 +-
.../model/BACnetPropertyStatesReasonForHalt.go | 2 +-
.../model/BACnetPropertyStatesReliability.go | 2 +-
.../model/BACnetPropertyStatesRestartReason.go | 2 +-
.../model/BACnetPropertyStatesSecurityLevel.go | 2 +-
.../model/BACnetPropertyStatesShedState.go | 2 +-
.../model/BACnetPropertyStatesSilencedState.go | 2 +-
.../readwrite/model/BACnetPropertyStatesState.go | 2 +-
.../model/BACnetPropertyStatesSystemStatus.go | 2 +-
.../model/BACnetPropertyStatesTimerState.go | 2 +-
.../model/BACnetPropertyStatesTimerTransition.go | 2 +-
.../readwrite/model/BACnetPropertyStatesUnits.go | 2 +-
.../model/BACnetPropertyStatesWriteStatus.go | 2 +-
.../model/BACnetPropertyStatesZoneOccupanyState.go | 2 +-
.../readwrite/model/BACnetPropertyValue.go | 4 +-
.../readwrite/model/BACnetPropertyValues.go | 2 +-
.../model/BACnetPropertyWriteDefinition.go | 4 +-
.../readwrite/model/BACnetProtocolLevel.go | 4 +-
.../readwrite/model/BACnetProtocolLevelTagged.go | 2 +-
.../readwrite/model/BACnetReadAccessProperty.go | 4 +-
.../model/BACnetReadAccessPropertyReadResult.go | 2 +-
.../readwrite/model/BACnetReadAccessResult.go | 2 +-
.../model/BACnetReadAccessResultListOfResults.go | 2 +-
.../model/BACnetReadAccessSpecification.go | 2 +-
.../bacnetip/readwrite/model/BACnetRecipient.go | 4 +-
.../readwrite/model/BACnetRecipientAddress.go | 2 +-
.../readwrite/model/BACnetRecipientDevice.go | 2 +-
.../readwrite/model/BACnetRecipientEnclosed.go | 2 +-
.../readwrite/model/BACnetRecipientProcess.go | 2 +-
.../model/BACnetRecipientProcessEnclosed.go | 2 +-
.../bacnetip/readwrite/model/BACnetRejectReason.go | 4 +-
.../readwrite/model/BACnetRejectReasonTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetRelationship.go | 4 +-
.../readwrite/model/BACnetRelationshipTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetReliability.go | 4 +-
.../readwrite/model/BACnetReliabilityTagged.go | 6 +-
.../readwrite/model/BACnetRestartReason.go | 4 +-
.../readwrite/model/BACnetRestartReasonTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetResultFlags.go | 4 +-
.../readwrite/model/BACnetResultFlagsTagged.go | 14 ++---
.../bacnetip/readwrite/model/BACnetRouterEntry.go | 2 +-
.../readwrite/model/BACnetRouterEntryStatus.go | 4 +-
.../model/BACnetRouterEntryStatusTagged.go | 2 +-
.../bacnetip/readwrite/model/BACnetScale.go | 4 +-
.../readwrite/model/BACnetScaleFloatScale.go | 2 +-
.../readwrite/model/BACnetScaleIntegerScale.go | 2 +-
.../readwrite/model/BACnetSecurityKeySet.go | 2 +-
.../readwrite/model/BACnetSecurityKeySetKeyIds.go | 2 +-
.../readwrite/model/BACnetSecurityLevel.go | 4 +-
.../readwrite/model/BACnetSecurityLevelTagged.go | 2 +-
.../readwrite/model/BACnetSecurityPolicy.go | 4 +-
.../readwrite/model/BACnetSecurityPolicyTagged.go | 2 +-
.../bacnetip/readwrite/model/BACnetSegmentation.go | 4 +-
.../readwrite/model/BACnetSegmentationTagged.go | 2 +-
.../bacnetip/readwrite/model/BACnetServiceAck.go | 8 +--
.../model/BACnetServiceAckAtomicReadFile.go | 2 +-
.../model/BACnetServiceAckAtomicReadFileRecord.go | 2 +-
.../model/BACnetServiceAckAtomicReadFileStream.go | 2 +-
...BACnetServiceAckAtomicReadFileStreamOrRecord.go | 4 +-
.../model/BACnetServiceAckAtomicWriteFile.go | 2 +-
.../model/BACnetServiceAckAuthenticate.go | 2 +-
.../BACnetServiceAckConfirmedPrivateTransfer.go | 2 +-
.../model/BACnetServiceAckCreateObject.go | 2 +-
.../model/BACnetServiceAckGetAlarmSummary.go | 2 +-
.../model/BACnetServiceAckGetEnrollmentSummary.go | 2 +-
.../model/BACnetServiceAckGetEventInformation.go | 2 +-
.../model/BACnetServiceAckReadProperty.go | 4 +-
.../BACnetServiceAckReadPropertyConditional.go | 2 +-
.../model/BACnetServiceAckReadPropertyMultiple.go | 2 +-
.../readwrite/model/BACnetServiceAckReadRange.go | 4 +-
.../readwrite/model/BACnetServiceAckRequestKey.go | 2 +-
.../readwrite/model/BACnetServiceAckVTData.go | 2 +-
.../readwrite/model/BACnetServiceAckVTOpen.go | 2 +-
.../readwrite/model/BACnetServicesSupported.go | 4 +-
.../model/BACnetServicesSupportedTagged.go | 42 +++++++-------
.../readwrite/model/BACnetSetpointReference.go | 2 +-
.../bacnetip/readwrite/model/BACnetShedLevel.go | 4 +-
.../readwrite/model/BACnetShedLevelAmount.go | 2 +-
.../readwrite/model/BACnetShedLevelLevel.go | 2 +-
.../readwrite/model/BACnetShedLevelPercent.go | 2 +-
.../bacnetip/readwrite/model/BACnetShedState.go | 4 +-
.../readwrite/model/BACnetShedStateTagged.go | 2 +-
.../readwrite/model/BACnetSilencedState.go | 4 +-
.../readwrite/model/BACnetSilencedStateTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetSpecialEvent.go | 2 +-
.../model/BACnetSpecialEventListOfTimeValues.go | 2 +-
.../readwrite/model/BACnetSpecialEventPeriod.go | 4 +-
.../model/BACnetSpecialEventPeriodCalendarEntry.go | 2 +-
.../BACnetSpecialEventPeriodCalendarReference.go | 2 +-
.../bacnetip/readwrite/model/BACnetStatusFlags.go | 4 +-
.../readwrite/model/BACnetStatusFlagsTagged.go | 18 +++---
.../bacnetip/readwrite/model/BACnetTagHeader.go | 18 +++---
.../readwrite/model/BACnetTagPayloadBitString.go | 2 +-
.../readwrite/model/BACnetTagPayloadBoolean.go | 2 +-
.../model/BACnetTagPayloadCharacterString.go | 2 +-
.../readwrite/model/BACnetTagPayloadDate.go | 2 +-
.../readwrite/model/BACnetTagPayloadDouble.go | 2 +-
.../readwrite/model/BACnetTagPayloadEnumerated.go | 2 +-
.../model/BACnetTagPayloadObjectIdentifier.go | 2 +-
.../readwrite/model/BACnetTagPayloadOctetString.go | 2 +-
.../readwrite/model/BACnetTagPayloadReal.go | 2 +-
.../model/BACnetTagPayloadSignedInteger.go | 30 +++++-----
.../readwrite/model/BACnetTagPayloadTime.go | 2 +-
.../model/BACnetTagPayloadUnsignedInteger.go | 30 +++++-----
.../bacnetip/readwrite/model/BACnetTimeStamp.go | 4 +-
.../readwrite/model/BACnetTimeStampDateTime.go | 2 +-
.../readwrite/model/BACnetTimeStampEnclosed.go | 2 +-
.../readwrite/model/BACnetTimeStampSequence.go | 2 +-
.../readwrite/model/BACnetTimeStampTime.go | 2 +-
.../readwrite/model/BACnetTimeStampsEnclosed.go | 2 +-
.../bacnetip/readwrite/model/BACnetTimeValue.go | 2 +-
.../bacnetip/readwrite/model/BACnetTimerState.go | 4 +-
.../readwrite/model/BACnetTimerStateChangeValue.go | 4 +-
.../model/BACnetTimerStateChangeValueBitString.go | 2 +-
.../model/BACnetTimerStateChangeValueBoolean.go | 2 +-
.../BACnetTimerStateChangeValueCharacterString.go | 2 +-
.../BACnetTimerStateChangeValueConstructedValue.go | 2 +-
.../model/BACnetTimerStateChangeValueDate.go | 2 +-
.../model/BACnetTimerStateChangeValueDateTime.go | 2 +-
.../model/BACnetTimerStateChangeValueDouble.go | 2 +-
.../model/BACnetTimerStateChangeValueEnumerated.go | 2 +-
.../model/BACnetTimerStateChangeValueInteger.go | 2 +-
.../BACnetTimerStateChangeValueLightingCommand.go | 2 +-
.../model/BACnetTimerStateChangeValueNoValue.go | 2 +-
.../model/BACnetTimerStateChangeValueNull.go | 2 +-
.../BACnetTimerStateChangeValueObjectidentifier.go | 2 +-
.../BACnetTimerStateChangeValueOctetString.go | 2 +-
.../model/BACnetTimerStateChangeValueReal.go | 2 +-
.../model/BACnetTimerStateChangeValueTime.go | 2 +-
.../model/BACnetTimerStateChangeValueUnsigned.go | 2 +-
.../readwrite/model/BACnetTimerStateTagged.go | 2 +-
.../readwrite/model/BACnetTimerTransition.go | 4 +-
.../readwrite/model/BACnetTimerTransitionTagged.go | 2 +-
.../model/BACnetUnconfirmedServiceChoice.go | 4 +-
.../model/BACnetUnconfirmedServiceChoiceTagged.go | 2 +-
.../model/BACnetUnconfirmedServiceRequest.go | 4 +-
.../model/BACnetUnconfirmedServiceRequestIAm.go | 2 +-
.../model/BACnetUnconfirmedServiceRequestIHave.go | 2 +-
...UnconfirmedServiceRequestTimeSynchronization.go | 2 +-
...onfirmedServiceRequestUTCTimeSynchronization.go | 2 +-
...rmedServiceRequestUnconfirmedCOVNotification.go | 2 +-
...iceRequestUnconfirmedCOVNotificationMultiple.go | 2 +-
...edServiceRequestUnconfirmedEventNotification.go | 2 +-
...rmedServiceRequestUnconfirmedPrivateTransfer.go | 2 +-
...onfirmedServiceRequestUnconfirmedTextMessage.go | 2 +-
.../BACnetUnconfirmedServiceRequestUnknown.go | 4 +-
.../model/BACnetUnconfirmedServiceRequestWhoHas.go | 2 +-
.../BACnetUnconfirmedServiceRequestWhoHasObject.go | 4 +-
...onfirmedServiceRequestWhoHasObjectIdentifier.go | 2 +-
...netUnconfirmedServiceRequestWhoHasObjectName.go | 2 +-
.../model/BACnetUnconfirmedServiceRequestWhoIs.go | 2 +-
.../BACnetUnconfirmedServiceRequestWriteGroup.go | 2 +-
.../bacnetip/readwrite/model/BACnetVMACEntry.go | 2 +-
.../bacnetip/readwrite/model/BACnetVTClass.go | 4 +-
.../readwrite/model/BACnetVTClassTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetVTSession.go | 2 +-
.../bacnetip/readwrite/model/BACnetValueSource.go | 4 +-
.../readwrite/model/BACnetValueSourceAddress.go | 2 +-
.../readwrite/model/BACnetValueSourceNone.go | 2 +-
.../readwrite/model/BACnetValueSourceObject.go | 2 +-
.../bacnetip/readwrite/model/BACnetVendorId.go | 4 +-
.../readwrite/model/BACnetVendorIdTagged.go | 6 +-
.../bacnetip/readwrite/model/BACnetWeekNDay.go | 2 +-
.../readwrite/model/BACnetWeekNDayTagged.go | 2 +-
.../model/BACnetWriteAccessSpecification.go | 2 +-
.../bacnetip/readwrite/model/BACnetWriteStatus.go | 4 +-
.../readwrite/model/BACnetWriteStatusTagged.go | 2 +-
plc4go/protocols/bacnetip/readwrite/model/BVLC.go | 4 +-
.../model/BVLCBroadcastDistributionTableEntry.go | 2 +-
.../model/BVLCDeleteForeignDeviceTableEntry.go | 2 +-
.../model/BVLCDistributeBroadcastToNetwork.go | 2 +-
.../readwrite/model/BVLCForeignDeviceTableEntry.go | 2 +-
.../bacnetip/readwrite/model/BVLCForwardedNPDU.go | 2 +-
.../readwrite/model/BVLCOriginalBroadcastNPDU.go | 2 +-
.../readwrite/model/BVLCOriginalUnicastNPDU.go | 2 +-
.../model/BVLCReadBroadcastDistributionTable.go | 2 +-
.../model/BVLCReadBroadcastDistributionTableAck.go | 2 +-
.../readwrite/model/BVLCReadForeignDeviceTable.go | 2 +-
.../model/BVLCReadForeignDeviceTableAck.go | 2 +-
.../readwrite/model/BVLCRegisterForeignDevice.go | 2 +-
.../bacnetip/readwrite/model/BVLCResult.go | 2 +-
.../bacnetip/readwrite/model/BVLCResultCode.go | 4 +-
.../readwrite/model/BVLCResultCodeTagged.go | 2 +-
.../bacnetip/readwrite/model/BVLCSecureBVLL.go | 2 +-
.../model/BVLCWriteBroadcastDistributionTable.go | 2 +-
.../bacnetip/readwrite/model/BacnetConstants.go | 2 +-
.../bacnetip/readwrite/model/ChangeListAddError.go | 2 +-
.../readwrite/model/ChangeListRemoveError.go | 2 +-
.../model/ConfirmedEventNotificationRequest.go | 2 +-
.../model/ConfirmedPrivateTransferError.go | 2 +-
.../bacnetip/readwrite/model/CreateObjectError.go | 2 +-
plc4go/protocols/bacnetip/readwrite/model/Error.go | 2 +-
.../bacnetip/readwrite/model/ErrorClass.go | 4 +-
.../bacnetip/readwrite/model/ErrorClassTagged.go | 6 +-
.../bacnetip/readwrite/model/ErrorCode.go | 4 +-
.../bacnetip/readwrite/model/ErrorCodeTagged.go | 6 +-
.../bacnetip/readwrite/model/ErrorEnclosed.go | 2 +-
.../readwrite/model/ListOfCovNotifications.go | 2 +-
.../readwrite/model/ListOfCovNotificationsList.go | 2 +-
.../readwrite/model/ListOfCovNotificationsValue.go | 4 +-
.../readwrite/model/MaxApduLengthAccepted.go | 4 +-
.../readwrite/model/MaxSegmentsAccepted.go | 4 +-
plc4go/protocols/bacnetip/readwrite/model/NLM.go | 4 +-
.../readwrite/model/NLMChallengeRequest.go | 2 +-
.../model/NLMDisconnectConnectionToNetwork.go | 2 +-
.../model/NLMEstablishConnectionToNetwork.go | 2 +-
.../readwrite/model/NLMIAmRouterToNetwork.go | 2 +-
.../readwrite/model/NLMICouldBeRouterToNetwork.go | 2 +-
.../readwrite/model/NLMInitalizeRoutingTable.go | 2 +-
.../readwrite/model/NLMInitalizeRoutingTableAck.go | 2 +-
.../model/NLMInitalizeRoutingTablePortMapping.go | 2 +-
.../bacnetip/readwrite/model/NLMNetworkNumberIs.go | 6 +-
.../readwrite/model/NLMRejectRouterToNetwork.go | 2 +-
.../model/NLMRejectRouterToNetworkRejectReason.go | 4 +-
.../readwrite/model/NLMRequestKeyUpdate.go | 2 +-
.../readwrite/model/NLMRequestMasterKey.go | 2 +-
.../bacnetip/readwrite/model/NLMReserved.go | 4 +-
.../readwrite/model/NLMRouterAvailableToNetwork.go | 2 +-
.../readwrite/model/NLMRouterBusyToNetwork.go | 2 +-
.../bacnetip/readwrite/model/NLMSecurityPayload.go | 2 +-
.../readwrite/model/NLMSecurityResponse.go | 2 +-
.../bacnetip/readwrite/model/NLMSetMasterKey.go | 2 +-
.../readwrite/model/NLMUpdateKeyDistributionKey.go | 2 +-
.../bacnetip/readwrite/model/NLMUpdateKeyUpdate.go | 10 ++--
.../model/NLMUpdateKeyUpdateControlFlags.go | 2 +-
.../readwrite/model/NLMUpdateKeyUpdateKeyEntry.go | 2 +-
.../readwrite/model/NLMVendorProprietaryMessage.go | 4 +-
.../readwrite/model/NLMWhatIsNetworkNumber.go | 2 +-
.../readwrite/model/NLMWhoIsRouterToNetwork.go | 2 +-
plc4go/protocols/bacnetip/readwrite/model/NPDU.go | 22 ++++----
.../bacnetip/readwrite/model/NPDUControl.go | 10 ++--
.../readwrite/model/NPDUNetworkPriority.go | 4 +-
.../readwrite/model/NPDUNetworkPriorityTagged.go | 2 +-
.../readwrite/model/SecurityResponseCode.go | 4 +-
.../readwrite/model/SecurityResponseCodeTagged.go | 2 +-
.../bacnetip/readwrite/model/StaticHelper.go | 12 ++--
.../model/SubscribeCOVPropertyMultipleError.go | 2 +-
...PropertyMultipleErrorFirstFailedSubscription.go | 2 +-
.../protocols/bacnetip/readwrite/model/TagClass.go | 4 +-
.../bacnetip/readwrite/model/VTCloseError.go | 2 +-
.../VTCloseErrorListOfVTSessionIdentifiers.go | 2 +-
.../readwrite/model/WritePropertyMultipleError.go | 2 +-
plc4go/protocols/cbus/readwrite/ParserHelper.go | 2 +-
plc4go/protocols/cbus/readwrite/XmlParserHelper.go | 2 +-
.../cbus/readwrite/model/AccessControlCategory.go | 4 +-
.../readwrite/model/AccessControlCommandType.go | 4 +-
.../model/AccessControlCommandTypeContainer.go | 4 +-
.../cbus/readwrite/model/AccessControlData.go | 4 +-
.../model/AccessControlDataAccessPointClosed.go | 2 +-
.../AccessControlDataAccessPointForcedOpen.go | 2 +-
.../model/AccessControlDataAccessPointLeftOpen.go | 2 +-
.../model/AccessControlDataCloseAccessPoint.go | 2 +-
.../model/AccessControlDataInvalidAccessRequest.go | 2 +-
.../model/AccessControlDataLockAccessPoint.go | 2 +-
.../model/AccessControlDataRequestToExit.go | 2 +-
.../model/AccessControlDataValidAccessRequest.go | 2 +-
.../cbus/readwrite/model/AccessControlDirection.go | 4 +-
.../readwrite/model/AirConditioningCommandType.go | 4 +-
.../model/AirConditioningCommandTypeContainer.go | 4 +-
.../cbus/readwrite/model/AirConditioningData.go | 4 +-
.../AirConditioningDataHumidityScheduleEntry.go | 2 +-
.../model/AirConditioningDataHvacScheduleEntry.go | 2 +-
.../readwrite/model/AirConditioningDataRefresh.go | 2 +-
...irConditioningDataSetHumidityLowerGuardLimit.go | 2 +-
.../AirConditioningDataSetHumiditySetbackLimit.go | 2 +-
...irConditioningDataSetHumidityUpperGuardLimit.go | 2 +-
.../AirConditioningDataSetHvacLowerGuardLimit.go | 2 +-
.../AirConditioningDataSetHvacSetbackLimit.go | 2 +-
.../AirConditioningDataSetHvacUpperGuardLimit.go | 2 +-
.../AirConditioningDataSetPlantHumidityLevel.go | 2 +-
.../model/AirConditioningDataSetPlantHvacLevel.go | 2 +-
.../model/AirConditioningDataSetZoneGroupOff.go | 2 +-
.../model/AirConditioningDataSetZoneGroupOn.go | 2 +-
.../AirConditioningDataSetZoneHumidityMode.go | 2 +-
.../model/AirConditioningDataSetZoneHvacMode.go | 2 +-
.../model/AirConditioningDataZoneHumidity.go | 2 +-
.../AirConditioningDataZoneHumidityPlantStatus.go | 2 +-
.../AirConditioningDataZoneHvacPlantStatus.go | 2 +-
.../model/AirConditioningDataZoneTemperature.go | 2 +-
plc4go/protocols/cbus/readwrite/model/Alpha.go | 2 +-
.../cbus/readwrite/model/ApplicationAddress1.go | 2 +-
.../cbus/readwrite/model/ApplicationAddress2.go | 2 +-
.../cbus/readwrite/model/ApplicationId.go | 4 +-
.../cbus/readwrite/model/ApplicationIdContainer.go | 4 +-
plc4go/protocols/cbus/readwrite/model/Attribute.go | 4 +-
.../cbus/readwrite/model/BaudRateSelector.go | 4 +-
.../cbus/readwrite/model/BridgeAddress.go | 2 +-
.../cbus/readwrite/model/CALCommandType.go | 4 +-
.../readwrite/model/CALCommandTypeContainer.go | 4 +-
plc4go/protocols/cbus/readwrite/model/CALData.go | 8 +--
.../cbus/readwrite/model/CALDataAcknowledge.go | 2 +-
.../cbus/readwrite/model/CALDataGetStatus.go | 2 +-
.../cbus/readwrite/model/CALDataIdentify.go | 2 +-
.../cbus/readwrite/model/CALDataIdentifyReply.go | 2 +-
.../cbus/readwrite/model/CALDataRecall.go | 2 +-
.../protocols/cbus/readwrite/model/CALDataReply.go | 2 +-
.../protocols/cbus/readwrite/model/CALDataReset.go | 2 +-
.../cbus/readwrite/model/CALDataStatus.go | 2 +-
.../cbus/readwrite/model/CALDataStatusExtended.go | 14 ++---
.../protocols/cbus/readwrite/model/CALDataWrite.go | 2 +-
plc4go/protocols/cbus/readwrite/model/CALReply.go | 4 +-
.../protocols/cbus/readwrite/model/CALReplyLong.go | 6 +-
.../cbus/readwrite/model/CALReplyShort.go | 2 +-
.../protocols/cbus/readwrite/model/CBusCommand.go | 4 +-
.../readwrite/model/CBusCommandDeviceManagement.go | 2 +-
.../model/CBusCommandPointToMultiPoint.go | 2 +-
.../readwrite/model/CBusCommandPointToPoint.go | 2 +-
.../model/CBusCommandPointToPointToMultiPoint.go | 2 +-
.../cbus/readwrite/model/CBusConstants.go | 2 +-
.../protocols/cbus/readwrite/model/CBusHeader.go | 2 +-
.../protocols/cbus/readwrite/model/CBusMessage.go | 4 +-
.../cbus/readwrite/model/CBusMessageToClient.go | 2 +-
.../cbus/readwrite/model/CBusMessageToServer.go | 2 +-
.../protocols/cbus/readwrite/model/CBusOptions.go | 2 +-
.../model/CBusPointToMultiPointCommand.go | 4 +-
.../model/CBusPointToMultiPointCommandNormal.go | 6 +-
.../model/CBusPointToMultiPointCommandStatus.go | 10 ++--
.../readwrite/model/CBusPointToPointCommand.go | 4 +-
.../model/CBusPointToPointCommandDirect.go | 6 +-
.../model/CBusPointToPointCommandIndirect.go | 2 +-
.../model/CBusPointToPointToMultiPointCommand.go | 4 +-
.../CBusPointToPointToMultiPointCommandNormal.go | 2 +-
.../CBusPointToPointToMultiPointCommandStatus.go | 6 +-
.../cbus/readwrite/model/ChannelStatus.go | 4 +-
plc4go/protocols/cbus/readwrite/model/Checksum.go | 2 +-
.../model/ClockAndTimekeepingCommandType.go | 4 +-
.../ClockAndTimekeepingCommandTypeContainer.go | 4 +-
.../readwrite/model/ClockAndTimekeepingData.go | 4 +-
.../model/ClockAndTimekeepingDataRequestRefresh.go | 2 +-
.../model/ClockAndTimekeepingDataUpdateDate.go | 2 +-
.../model/ClockAndTimekeepingDataUpdateTime.go | 2 +-
.../protocols/cbus/readwrite/model/Confirmation.go | 2 +-
.../cbus/readwrite/model/ConfirmationType.go | 4 +-
.../cbus/readwrite/model/CustomManufacturer.go | 2 +-
.../protocols/cbus/readwrite/model/CustomTypes.go | 2 +-
.../cbus/readwrite/model/DestinationAddressType.go | 4 +-
.../cbus/readwrite/model/DialInFailureReason.go | 4 +-
.../cbus/readwrite/model/DialOutFailureReason.go | 4 +-
.../readwrite/model/EnableControlCommandType.go | 4 +-
.../model/EnableControlCommandTypeContainer.go | 4 +-
.../cbus/readwrite/model/EnableControlData.go | 2 +-
.../protocols/cbus/readwrite/model/EncodedReply.go | 4 +-
.../cbus/readwrite/model/EncodedReplyCALReply.go | 2 +-
.../readwrite/model/ErrorReportingCommandType.go | 4 +-
.../model/ErrorReportingCommandTypeContainer.go | 4 +-
.../cbus/readwrite/model/ErrorReportingData.go | 4 +-
.../readwrite/model/ErrorReportingDataGeneric.go | 2 +-
.../cbus/readwrite/model/ErrorReportingSeverity.go | 4 +-
.../model/ErrorReportingSystemCategory.go | 2 +-
.../model/ErrorReportingSystemCategoryClass.go | 4 +-
.../model/ErrorReportingSystemCategoryType.go | 4 +-
...gSystemCategoryTypeBuildingManagementSystems.go | 2 +-
...eportingSystemCategoryTypeClimateControllers.go | 2 +-
...stemCategoryTypeForBuildingManagementSystems.go | 4 +-
...rtingSystemCategoryTypeForClimateControllers.go | 4 +-
...rrorReportingSystemCategoryTypeForInputUnits.go | 4 +-
...rorReportingSystemCategoryTypeForOutputUnits.go | 4 +-
...orReportingSystemCategoryTypeForSupportUnits.go | 4 +-
.../ErrorReportingSystemCategoryTypeInputUnits.go | 2 +-
.../ErrorReportingSystemCategoryTypeOutputUnits.go | 2 +-
.../ErrorReportingSystemCategoryTypeReserved.go | 2 +-
...ErrorReportingSystemCategoryTypeSupportUnits.go | 2 +-
.../model/ErrorReportingSystemCategoryVariant.go | 4 +-
plc4go/protocols/cbus/readwrite/model/GAVState.go | 4 +-
.../cbus/readwrite/model/HVACAuxiliaryLevel.go | 6 +-
plc4go/protocols/cbus/readwrite/model/HVACError.go | 4 +-
.../protocols/cbus/readwrite/model/HVACHumidity.go | 2 +-
.../cbus/readwrite/model/HVACHumidityError.go | 4 +-
.../readwrite/model/HVACHumidityModeAndFlags.go | 6 +-
.../model/HVACHumidityModeAndFlagsMode.go | 4 +-
.../readwrite/model/HVACHumidityStatusFlags.go | 6 +-
.../cbus/readwrite/model/HVACHumidityType.go | 4 +-
.../cbus/readwrite/model/HVACModeAndFlags.go | 6 +-
.../cbus/readwrite/model/HVACModeAndFlagsMode.go | 4 +-
.../cbus/readwrite/model/HVACRawLevels.go | 2 +-
.../cbus/readwrite/model/HVACSensorStatus.go | 4 +-
.../cbus/readwrite/model/HVACStartTime.go | 2 +-
.../cbus/readwrite/model/HVACStatusFlags.go | 6 +-
.../cbus/readwrite/model/HVACTemperature.go | 2 +-
plc4go/protocols/cbus/readwrite/model/HVACType.go | 4 +-
.../protocols/cbus/readwrite/model/HVACZoneList.go | 2 +-
.../cbus/readwrite/model/IdentifyReplyCommand.go | 4 +-
.../IdentifyReplyCommandCurrentSenseLevels.go | 2 +-
.../model/IdentifyReplyCommandDSIStatus.go | 2 +-
.../readwrite/model/IdentifyReplyCommandDelays.go | 2 +-
...dentifyReplyCommandExtendedDiagnosticSummary.go | 14 ++---
.../model/IdentifyReplyCommandFirmwareVersion.go | 2 +-
.../IdentifyReplyCommandGAVPhysicalAddresses.go | 2 +-
.../model/IdentifyReplyCommandGAVValuesCurrent.go | 2 +-
.../model/IdentifyReplyCommandGAVValuesStored.go | 2 +-
.../model/IdentifyReplyCommandLogicalAssignment.go | 2 +-
.../model/IdentifyReplyCommandManufacturer.go | 2 +-
.../model/IdentifyReplyCommandMaximumLevels.go | 2 +-
.../model/IdentifyReplyCommandMinimumLevels.go | 2 +-
.../IdentifyReplyCommandNetworkTerminalLevels.go | 2 +-
.../model/IdentifyReplyCommandNetworkVoltage.go | 2 +-
.../model/IdentifyReplyCommandOutputUnitSummary.go | 2 +-
.../readwrite/model/IdentifyReplyCommandSummary.go | 2 +-
.../model/IdentifyReplyCommandTerminalLevels.go | 2 +-
.../readwrite/model/IdentifyReplyCommandType.go | 2 +-
.../model/IdentifyReplyCommandUnitSummary.go | 2 +-
.../cbus/readwrite/model/InterfaceOptions1.go | 10 ++--
.../model/InterfaceOptions1PowerUpSettings.go | 2 +-
.../cbus/readwrite/model/InterfaceOptions2.go | 26 ++++-----
.../cbus/readwrite/model/InterfaceOptions3.go | 18 +++---
plc4go/protocols/cbus/readwrite/model/Language.go | 4 +-
.../cbus/readwrite/model/LevelInformation.go | 4 +-
.../cbus/readwrite/model/LevelInformationAbsent.go | 6 +-
.../readwrite/model/LevelInformationCorrupted.go | 2 +-
.../readwrite/model/LevelInformationNibblePair.go | 4 +-
.../cbus/readwrite/model/LevelInformationNormal.go | 2 +-
.../cbus/readwrite/model/LightingCommandType.go | 4 +-
.../model/LightingCommandTypeContainer.go | 4 +-
.../cbus/readwrite/model/LightingCompatible.go | 4 +-
.../protocols/cbus/readwrite/model/LightingData.go | 4 +-
.../cbus/readwrite/model/LightingDataLabel.go | 4 +-
.../cbus/readwrite/model/LightingDataOff.go | 2 +-
.../cbus/readwrite/model/LightingDataOn.go | 2 +-
.../readwrite/model/LightingDataRampToLevel.go | 2 +-
.../readwrite/model/LightingDataTerminateRamp.go | 2 +-
.../cbus/readwrite/model/LightingLabelFlavour.go | 4 +-
.../cbus/readwrite/model/LightingLabelOptions.go | 18 +++---
.../cbus/readwrite/model/LightingLabelType.go | 4 +-
.../cbus/readwrite/model/LineOffHookReason.go | 4 +-
.../cbus/readwrite/model/LogicAssignment.go | 10 ++--
.../cbus/readwrite/model/MeasurementCommandType.go | 4 +-
.../model/MeasurementCommandTypeContainer.go | 4 +-
.../cbus/readwrite/model/MeasurementData.go | 4 +-
.../model/MeasurementDataChannelMeasurementData.go | 2 +-
.../cbus/readwrite/model/MeasurementUnits.go | 4 +-
.../model/MediaTransportControlCommandType.go | 4 +-
.../MediaTransportControlCommandTypeContainer.go | 4 +-
.../readwrite/model/MediaTransportControlData.go | 4 +-
.../model/MediaTransportControlDataCategoryName.go | 2 +-
...ontrolDataEnumerateCategoriesSelectionTracks.go | 2 +-
.../MediaTransportControlDataEnumerationsSize.go | 2 +-
.../model/MediaTransportControlDataFastForward.go | 2 +-
...ediaTransportControlDataNextPreviousCategory.go | 2 +-
...diaTransportControlDataNextPreviousSelection.go | 2 +-
.../MediaTransportControlDataNextPreviousTrack.go | 2 +-
.../model/MediaTransportControlDataPauseResume.go | 2 +-
.../model/MediaTransportControlDataPlay.go | 2 +-
.../model/MediaTransportControlDataRepeatOnOff.go | 2 +-
.../model/MediaTransportControlDataRewind.go | 2 +-
.../MediaTransportControlDataSelectionName.go | 2 +-
.../model/MediaTransportControlDataSetCategory.go | 2 +-
.../model/MediaTransportControlDataSetSelection.go | 2 +-
.../model/MediaTransportControlDataSetTrack.go | 2 +-
.../model/MediaTransportControlDataShuffleOnOff.go | 2 +-
.../MediaTransportControlDataSourcePowerControl.go | 2 +-
.../MediaTransportControlDataStatusRequest.go | 2 +-
.../model/MediaTransportControlDataStop.go | 2 +-
.../model/MediaTransportControlDataTotalTracks.go | 2 +-
.../model/MediaTransportControlDataTrackName.go | 2 +-
.../cbus/readwrite/model/MeteringCommandType.go | 4 +-
.../model/MeteringCommandTypeContainer.go | 4 +-
.../protocols/cbus/readwrite/model/MeteringData.go | 4 +-
.../model/MeteringDataDrinkingWaterConsumption.go | 2 +-
.../model/MeteringDataElectricityConsumption.go | 2 +-
.../readwrite/model/MeteringDataGasConsumption.go | 2 +-
.../model/MeteringDataMeasureDrinkingWater.go | 2 +-
.../model/MeteringDataMeasureElectricity.go | 2 +-
.../cbus/readwrite/model/MeteringDataMeasureGas.go | 2 +-
.../cbus/readwrite/model/MeteringDataMeasureOil.go | 2 +-
.../model/MeteringDataMeasureOtherWater.go | 2 +-
.../readwrite/model/MeteringDataOilConsumption.go | 2 +-
.../model/MeteringDataOtherWaterConsumption.go | 2 +-
.../protocols/cbus/readwrite/model/MonitoredSAL.go | 4 +-
.../model/MonitoredSALLongFormSmartMode.go | 6 +-
.../cbus/readwrite/model/MonitoredSALReply.go | 2 +-
.../model/MonitoredSALShortFormBasicMode.go | 2 +-
.../model/NetworkProtocolControlInformation.go | 6 +-
.../protocols/cbus/readwrite/model/NetworkRoute.go | 2 +-
.../protocols/cbus/readwrite/model/PanicStatus.go | 2 +-
plc4go/protocols/cbus/readwrite/model/Parameter.go | 4 +-
.../cbus/readwrite/model/ParameterChange.go | 2 +-
.../cbus/readwrite/model/ParameterChangeReply.go | 2 +-
.../cbus/readwrite/model/ParameterType.go | 4 +-
.../cbus/readwrite/model/ParameterValue.go | 4 +-
.../model/ParameterValueApplicationAddress1.go | 2 +-
.../model/ParameterValueApplicationAddress2.go | 2 +-
.../model/ParameterValueBaudRateSelector.go | 2 +-
.../model/ParameterValueCustomManufacturer.go | 2 +-
.../readwrite/model/ParameterValueCustomTypes.go | 2 +-
.../model/ParameterValueInterfaceOptions1.go | 2 +-
...rameterValueInterfaceOptions1PowerUpSettings.go | 2 +-
.../model/ParameterValueInterfaceOptions2.go | 2 +-
.../model/ParameterValueInterfaceOptions3.go | 2 +-
.../cbus/readwrite/model/ParameterValueRaw.go | 2 +-
.../readwrite/model/ParameterValueSerialNumber.go | 2 +-
plc4go/protocols/cbus/readwrite/model/PowerUp.go | 2 +-
.../protocols/cbus/readwrite/model/PowerUpReply.go | 2 +-
.../cbus/readwrite/model/PriorityClass.go | 4 +-
.../cbus/readwrite/model/ProtectionLevel.go | 4 +-
plc4go/protocols/cbus/readwrite/model/Reply.go | 4 +-
.../cbus/readwrite/model/ReplyEncodedReply.go | 4 +-
.../protocols/cbus/readwrite/model/ReplyNetwork.go | 2 +-
.../cbus/readwrite/model/ReplyOrConfirmation.go | 4 +-
.../model/ReplyOrConfirmationConfirmation.go | 2 +-
.../readwrite/model/ReplyOrConfirmationReply.go | 2 +-
plc4go/protocols/cbus/readwrite/model/Request.go | 8 +--
.../cbus/readwrite/model/RequestCommand.go | 4 +-
.../cbus/readwrite/model/RequestContext.go | 2 +-
.../readwrite/model/RequestDirectCommandAccess.go | 2 +-
.../protocols/cbus/readwrite/model/RequestEmpty.go | 2 +-
.../protocols/cbus/readwrite/model/RequestNull.go | 2 +-
.../cbus/readwrite/model/RequestObsolete.go | 2 +-
.../protocols/cbus/readwrite/model/RequestReset.go | 2 +-
.../readwrite/model/RequestSmartConnectShortcut.go | 2 +-
.../cbus/readwrite/model/RequestTermination.go | 2 +-
.../protocols/cbus/readwrite/model/RequestType.go | 4 +-
.../cbus/readwrite/model/ResponseTermination.go | 2 +-
plc4go/protocols/cbus/readwrite/model/SALData.go | 4 +-
.../cbus/readwrite/model/SALDataAccessControl.go | 2 +-
.../cbus/readwrite/model/SALDataAirConditioning.go | 2 +-
.../cbus/readwrite/model/SALDataAudioAndVideo.go | 2 +-
.../readwrite/model/SALDataClockAndTimekeeping.go | 2 +-
.../cbus/readwrite/model/SALDataEnableControl.go | 2 +-
.../cbus/readwrite/model/SALDataErrorReporting.go | 2 +-
.../cbus/readwrite/model/SALDataFreeUsage.go | 2 +-
.../cbus/readwrite/model/SALDataHeating.go | 2 +-
.../cbus/readwrite/model/SALDataHvacActuator.go | 2 +-
.../readwrite/model/SALDataIrrigationControl.go | 2 +-
.../cbus/readwrite/model/SALDataLighting.go | 2 +-
.../cbus/readwrite/model/SALDataMeasurement.go | 2 +-
.../cbus/readwrite/model/SALDataMediaTransport.go | 2 +-
.../cbus/readwrite/model/SALDataMetering.go | 2 +-
.../model/SALDataPoolsSpasPondsFountainsControl.go | 2 +-
.../cbus/readwrite/model/SALDataReserved.go | 2 +-
.../readwrite/model/SALDataRoomControlSystem.go | 2 +-
.../cbus/readwrite/model/SALDataSecurity.go | 2 +-
.../model/SALDataTelephonyStatusAndControl.go | 2 +-
.../readwrite/model/SALDataTemperatureBroadcast.go | 2 +-
.../cbus/readwrite/model/SALDataTesting.go | 2 +-
.../cbus/readwrite/model/SALDataTriggerControl.go | 2 +-
.../cbus/readwrite/model/SALDataVentilation.go | 2 +-
.../cbus/readwrite/model/SecurityArmCode.go | 2 +-
.../cbus/readwrite/model/SecurityCommandType.go | 4 +-
.../model/SecurityCommandTypeContainer.go | 4 +-
.../protocols/cbus/readwrite/model/SecurityData.go | 4 +-
.../cbus/readwrite/model/SecurityDataAlarmOff.go | 2 +-
.../cbus/readwrite/model/SecurityDataAlarmOn.go | 2 +-
.../model/SecurityDataArmFailedCleared.go | 2 +-
.../readwrite/model/SecurityDataArmFailedRaised.go | 2 +-
.../model/SecurityDataArmReadyNotReady.go | 2 +-
.../cbus/readwrite/model/SecurityDataArmSystem.go | 2 +-
.../model/SecurityDataCurrentAlarmType.go | 2 +-
.../readwrite/model/SecurityDataDisplayMessage.go | 2 +-
.../cbus/readwrite/model/SecurityDataDropTamper.go | 2 +-
.../readwrite/model/SecurityDataEmulatedKeypad.go | 2 +-
.../model/SecurityDataEntryDelayStarted.go | 2 +-
.../cbus/readwrite/model/SecurityDataEvent.go | 2 +-
.../model/SecurityDataExitDelayStarted.go | 2 +-
.../model/SecurityDataFireAlarmCleared.go | 2 +-
.../readwrite/model/SecurityDataFireAlarmRaised.go | 2 +-
.../readwrite/model/SecurityDataGasAlarmCleared.go | 2 +-
.../readwrite/model/SecurityDataGasAlarmRaised.go | 2 +-
.../model/SecurityDataLineCutAlarmCleared.go | 2 +-
.../model/SecurityDataLineCutAlarmRaised.go | 2 +-
.../model/SecurityDataLowBatteryCharging.go | 2 +-
.../model/SecurityDataLowBatteryCorrected.go | 2 +-
.../model/SecurityDataLowBatteryDetected.go | 2 +-
.../readwrite/model/SecurityDataMainsFailure.go | 2 +-
.../model/SecurityDataMainsRestoredOrApplied.go | 2 +-
.../cbus/readwrite/model/SecurityDataOff.go | 2 +-
.../cbus/readwrite/model/SecurityDataOn.go | 2 +-
.../model/SecurityDataOtherAlarmCleared.go | 2 +-
.../model/SecurityDataOtherAlarmRaised.go | 2 +-
.../readwrite/model/SecurityDataPanicActivated.go | 2 +-
.../readwrite/model/SecurityDataPanicCleared.go | 2 +-
.../model/SecurityDataPasswordEntryStatus.go | 2 +-
.../cbus/readwrite/model/SecurityDataRaiseAlarm.go | 2 +-
.../readwrite/model/SecurityDataRaiseTamper.go | 2 +-
.../readwrite/model/SecurityDataRequestZoneName.go | 2 +-
.../readwrite/model/SecurityDataStatus1Request.go | 2 +-
.../readwrite/model/SecurityDataStatus2Request.go | 2 +-
.../readwrite/model/SecurityDataStatusReport1.go | 2 +-
.../readwrite/model/SecurityDataStatusReport2.go | 2 +-
.../model/SecurityDataSystemArmedDisarmed.go | 2 +-
.../readwrite/model/SecurityDataSystemDisarmed.go | 2 +-
.../cbus/readwrite/model/SecurityDataTamperOff.go | 2 +-
.../cbus/readwrite/model/SecurityDataTamperOn.go | 2 +-
.../readwrite/model/SecurityDataZoneIsolated.go | 2 +-
.../cbus/readwrite/model/SecurityDataZoneName.go | 2 +-
.../cbus/readwrite/model/SecurityDataZoneOpen.go | 2 +-
.../cbus/readwrite/model/SecurityDataZoneSealed.go | 2 +-
.../cbus/readwrite/model/SecurityDataZoneShort.go | 2 +-
.../readwrite/model/SecurityDataZoneUnsealed.go | 2 +-
.../cbus/readwrite/model/SerialInterfaceAddress.go | 2 +-
.../protocols/cbus/readwrite/model/SerialNumber.go | 2 +-
.../cbus/readwrite/model/ServerErrorReply.go | 2 +-
.../protocols/cbus/readwrite/model/StatusByte.go | 2 +-
.../protocols/cbus/readwrite/model/StatusCoding.go | 4 +-
.../cbus/readwrite/model/StatusRequest.go | 4 +-
.../readwrite/model/StatusRequestBinaryState.go | 10 ++--
.../model/StatusRequestBinaryStateDeprecated.go | 10 ++--
.../cbus/readwrite/model/StatusRequestLevel.go | 10 ++--
.../protocols/cbus/readwrite/model/TamperStatus.go | 2 +-
.../cbus/readwrite/model/TelephonyCommandType.go | 4 +-
.../model/TelephonyCommandTypeContainer.go | 4 +-
.../cbus/readwrite/model/TelephonyData.go | 4 +-
.../readwrite/model/TelephonyDataClearDiversion.go | 2 +-
.../readwrite/model/TelephonyDataDialInFailure.go | 2 +-
.../readwrite/model/TelephonyDataDialOutFailure.go | 2 +-
.../cbus/readwrite/model/TelephonyDataDivert.go | 2 +-
.../TelephonyDataInternetConnectionRequestMade.go | 2 +-
.../model/TelephonyDataIsolateSecondaryOutlet.go | 2 +-
.../readwrite/model/TelephonyDataLineOffHook.go | 2 +-
.../readwrite/model/TelephonyDataLineOnHook.go | 2 +-
.../model/TelephonyDataRecallLastNumber.go | 2 +-
.../model/TelephonyDataRecallLastNumberRequest.go | 2 +-
.../model/TelephonyDataRejectIncomingCall.go | 2 +-
.../cbus/readwrite/model/TelephonyDataRinging.go | 6 +-
.../model/TemperatureBroadcastCommandType.go | 4 +-
.../TemperatureBroadcastCommandTypeContainer.go | 4 +-
.../readwrite/model/TemperatureBroadcastData.go | 2 +-
.../readwrite/model/TriggerControlCommandType.go | 4 +-
.../model/TriggerControlCommandTypeContainer.go | 4 +-
.../cbus/readwrite/model/TriggerControlData.go | 4 +-
.../model/TriggerControlDataIndicatorKill.go | 2 +-
.../readwrite/model/TriggerControlDataLabel.go | 4 +-
.../model/TriggerControlDataTriggerEvent.go | 2 +-
.../model/TriggerControlDataTriggerMax.go | 2 +-
.../model/TriggerControlDataTriggerMin.go | 2 +-
.../readwrite/model/TriggerControlLabelFlavour.go | 4 +-
.../readwrite/model/TriggerControlLabelOptions.go | 18 +++---
.../readwrite/model/TriggerControlLabelType.go | 4 +-
.../protocols/cbus/readwrite/model/UnitAddress.go | 2 +-
.../protocols/cbus/readwrite/model/UnitStatus.go | 4 +-
.../protocols/cbus/readwrite/model/ZoneStatus.go | 2 +-
.../cbus/readwrite/model/ZoneStatusTemp.go | 4 +-
plc4go/protocols/df1/readwrite/ParserHelper.go | 2 +-
plc4go/protocols/df1/readwrite/XmlParserHelper.go | 2 +-
plc4go/protocols/df1/readwrite/model/DF1Command.go | 4 +-
plc4go/protocols/df1/readwrite/model/DF1Symbol.go | 4 +-
.../df1/readwrite/model/DF1SymbolMessageFrame.go | 2 +-
.../readwrite/model/DF1SymbolMessageFrameACK.go | 2 +-
.../readwrite/model/DF1SymbolMessageFrameNAK.go | 2 +-
.../readwrite/model/DF1UnprotectedReadRequest.go | 2 +-
.../readwrite/model/DF1UnprotectedReadResponse.go | 2 +-
plc4go/protocols/eip/readwrite/ParserHelper.go | 2 +-
plc4go/protocols/eip/readwrite/XmlParserHelper.go | 2 +-
.../readwrite/model/AnsiExtendedSymbolSegment.go | 2 +-
.../protocols/eip/readwrite/model/CIPAttributes.go | 2 +-
plc4go/protocols/eip/readwrite/model/CIPClassID.go | 4 +-
plc4go/protocols/eip/readwrite/model/CIPData.go | 2 +-
.../eip/readwrite/model/CIPDataConnected.go | 2 +-
.../eip/readwrite/model/CIPDataTypeCode.go | 4 +-
plc4go/protocols/eip/readwrite/model/CIPStatus.go | 4 +-
.../eip/readwrite/model/CIPStructTypeCode.go | 4 +-
.../eip/readwrite/model/CipConnectedRequest.go | 10 ++--
.../eip/readwrite/model/CipConnectedResponse.go | 6 +-
.../model/CipConnectionManagerCloseRequest.go | 6 +-
.../model/CipConnectionManagerCloseResponse.go | 10 ++--
.../readwrite/model/CipConnectionManagerRequest.go | 6 +-
.../model/CipConnectionManagerResponse.go | 10 ++--
plc4go/protocols/eip/readwrite/model/CipRRData.go | 2 +-
.../eip/readwrite/model/CipReadRequest.go | 2 +-
.../eip/readwrite/model/CipReadResponse.go | 6 +-
plc4go/protocols/eip/readwrite/model/CipService.go | 4 +-
.../eip/readwrite/model/CipUnconnectedRequest.go | 6 +-
.../eip/readwrite/model/CipWriteRequest.go | 2 +-
.../eip/readwrite/model/CipWriteResponse.go | 6 +-
plc4go/protocols/eip/readwrite/model/ClassID.go | 2 +-
.../protocols/eip/readwrite/model/ClassSegment.go | 2 +-
.../eip/readwrite/model/ConnectedAddressItem.go | 6 +-
.../eip/readwrite/model/ConnectedDataItem.go | 2 +-
.../protocols/eip/readwrite/model/DataSegment.go | 2 +-
.../eip/readwrite/model/DataSegmentType.go | 4 +-
plc4go/protocols/eip/readwrite/model/EiPCommand.go | 4 +-
.../eip/readwrite/model/EipConnectionRequest.go | 2 +-
.../eip/readwrite/model/EipConnectionResponse.go | 2 +-
.../eip/readwrite/model/EipDisconnectRequest.go | 2 +-
plc4go/protocols/eip/readwrite/model/EipPacket.go | 4 +-
.../eip/readwrite/model/GetAttributeAllRequest.go | 2 +-
.../eip/readwrite/model/GetAttributeAllResponse.go | 6 +-
.../eip/readwrite/model/GetAttributeListRequest.go | 2 +-
.../readwrite/model/GetAttributeListResponse.go | 2 +-
.../readwrite/model/GetAttributeSingleRequest.go | 2 +-
.../readwrite/model/GetAttributeSingleResponse.go | 2 +-
plc4go/protocols/eip/readwrite/model/InstanceID.go | 2 +-
.../eip/readwrite/model/InstanceSegment.go | 2 +-
.../eip/readwrite/model/IntegerEncoding.go | 4 +-
.../eip/readwrite/model/ListServicesRequest.go | 2 +-
.../eip/readwrite/model/ListServicesResponse.go | 2 +-
.../eip/readwrite/model/LogicalSegment.go | 2 +-
.../eip/readwrite/model/LogicalSegmentType.go | 4 +-
plc4go/protocols/eip/readwrite/model/MemberID.go | 2 +-
.../eip/readwrite/model/MultipleServiceRequest.go | 2 +-
.../eip/readwrite/model/MultipleServiceResponse.go | 6 +-
.../readwrite/model/NetworkConnectionParameters.go | 14 ++---
.../eip/readwrite/model/NullAddressItem.go | 6 +-
.../eip/readwrite/model/NullCommandRequest.go | 2 +-
.../eip/readwrite/model/NullCommandResponse.go | 2 +-
.../readwrite/model/NullEipConnectionResponse.go | 2 +-
.../readwrite/model/NullListServicesResponse.go | 2 +-
.../protocols/eip/readwrite/model/PathSegment.go | 4 +-
.../protocols/eip/readwrite/model/PortSegment.go | 2 +-
.../eip/readwrite/model/PortSegmentExtended.go | 2 +-
.../eip/readwrite/model/PortSegmentNormal.go | 2 +-
.../eip/readwrite/model/PortSegmentType.go | 4 +-
.../protocols/eip/readwrite/model/SendUnitData.go | 2 +-
plc4go/protocols/eip/readwrite/model/Services.go | 2 +-
.../eip/readwrite/model/ServicesResponse.go | 10 ++--
.../eip/readwrite/model/SetAttributeAllRequest.go | 2 +-
.../eip/readwrite/model/SetAttributeAllResponse.go | 2 +-
.../eip/readwrite/model/SetAttributeListRequest.go | 2 +-
.../readwrite/model/SetAttributeListResponse.go | 2 +-
.../readwrite/model/SetAttributeSingleRequest.go | 2 +-
.../readwrite/model/SetAttributeSingleResponse.go | 2 +-
.../protocols/eip/readwrite/model/TransportType.go | 2 +-
plc4go/protocols/eip/readwrite/model/TypeId.go | 4 +-
.../eip/readwrite/model/UnConnectedDataItem.go | 2 +-
plc4go/protocols/firmata/readwrite/ParserHelper.go | 2 +-
.../protocols/firmata/readwrite/XmlParserHelper.go | 2 +-
.../firmata/readwrite/model/FirmataCommand.go | 4 +-
.../model/FirmataCommandProtocolVersion.go | 2 +-
.../model/FirmataCommandSetDigitalPinValue.go | 6 +-
.../readwrite/model/FirmataCommandSetPinMode.go | 2 +-
.../firmata/readwrite/model/FirmataCommandSysex.go | 6 +-
.../readwrite/model/FirmataCommandSystemReset.go | 2 +-
.../firmata/readwrite/model/FirmataMessage.go | 4 +-
.../readwrite/model/FirmataMessageAnalogIO.go | 2 +-
.../readwrite/model/FirmataMessageCommand.go | 2 +-
.../readwrite/model/FirmataMessageDigitalIO.go | 2 +-
.../model/FirmataMessageSubscribeAnalogPinValue.go | 6 +-
.../FirmataMessageSubscribeDigitalPinValue.go | 6 +-
.../protocols/firmata/readwrite/model/PinMode.go | 4 +-
.../firmata/readwrite/model/SysexCommand.go | 4 +-
.../model/SysexCommandAnalogMappingQueryRequest.go | 2 +-
.../SysexCommandAnalogMappingQueryResponse.go | 2 +-
.../model/SysexCommandAnalogMappingResponse.go | 2 +-
.../readwrite/model/SysexCommandCapabilityQuery.go | 2 +-
.../model/SysexCommandCapabilityResponse.go | 2 +-
.../readwrite/model/SysexCommandExtendedAnalog.go | 2 +-
.../readwrite/model/SysexCommandExtendedId.go | 2 +-
.../readwrite/model/SysexCommandPinStateQuery.go | 2 +-
.../model/SysexCommandPinStateResponse.go | 2 +-
.../model/SysexCommandReportFirmwareRequest.go | 2 +-
.../model/SysexCommandReportFirmwareResponse.go | 2 +-
.../model/SysexCommandSamplingInterval.go | 2 +-
.../readwrite/model/SysexCommandStringData.go | 2 +-
.../model/SysexCommandSysexNonRealtime.go | 2 +-
.../readwrite/model/SysexCommandSysexRealtime.go | 2 +-
.../protocols/knxnetip/readwrite/ParserHelper.go | 2 +-
.../knxnetip/readwrite/XmlParserHelper.go | 2 +-
.../knxnetip/readwrite/model/AccessLevel.go | 4 +-
plc4go/protocols/knxnetip/readwrite/model/Apdu.go | 4 +-
.../knxnetip/readwrite/model/ApduControl.go | 4 +-
.../knxnetip/readwrite/model/ApduControlAck.go | 2 +-
.../knxnetip/readwrite/model/ApduControlConnect.go | 2 +-
.../readwrite/model/ApduControlContainer.go | 2 +-
.../readwrite/model/ApduControlDisconnect.go | 2 +-
.../knxnetip/readwrite/model/ApduControlNack.go | 2 +-
.../protocols/knxnetip/readwrite/model/ApduData.go | 4 +-
.../knxnetip/readwrite/model/ApduDataAdcRead.go | 2 +-
.../readwrite/model/ApduDataAdcResponse.go | 2 +-
.../knxnetip/readwrite/model/ApduDataContainer.go | 2 +-
.../model/ApduDataDeviceDescriptorRead.go | 2 +-
.../model/ApduDataDeviceDescriptorResponse.go | 4 +-
.../knxnetip/readwrite/model/ApduDataExt.go | 4 +-
.../readwrite/model/ApduDataExtAuthorizeRequest.go | 2 +-
.../model/ApduDataExtAuthorizeResponse.go | 2 +-
.../model/ApduDataExtDomainAddressRead.go | 2 +-
.../model/ApduDataExtDomainAddressResponse.go | 2 +-
.../model/ApduDataExtDomainAddressSelectiveRead.go | 2 +-
.../ApduDataExtDomainAddressSerialNumberRead.go | 2 +-
...ApduDataExtDomainAddressSerialNumberResponse.go | 2 +-
.../ApduDataExtDomainAddressSerialNumberWrite.go | 2 +-
.../model/ApduDataExtDomainAddressWrite.go | 2 +-
.../model/ApduDataExtFileStreamInfoReport.go | 2 +-
.../ApduDataExtGroupPropertyValueInfoReport.go | 2 +-
.../model/ApduDataExtGroupPropertyValueRead.go | 2 +-
.../model/ApduDataExtGroupPropertyValueResponse.go | 2 +-
.../model/ApduDataExtGroupPropertyValueWrite.go | 2 +-
...ApduDataExtIndividualAddressSerialNumberRead.go | 2 +-
...DataExtIndividualAddressSerialNumberResponse.go | 2 +-
...pduDataExtIndividualAddressSerialNumberWrite.go | 2 +-
.../readwrite/model/ApduDataExtKeyResponse.go | 2 +-
.../readwrite/model/ApduDataExtKeyWrite.go | 2 +-
.../readwrite/model/ApduDataExtLinkRead.go | 2 +-
.../readwrite/model/ApduDataExtLinkResponse.go | 2 +-
.../readwrite/model/ApduDataExtLinkWrite.go | 2 +-
.../readwrite/model/ApduDataExtMemoryBitWrite.go | 2 +-
.../model/ApduDataExtNetworkParameterRead.go | 2 +-
.../model/ApduDataExtNetworkParameterResponse.go | 2 +-
.../model/ApduDataExtNetworkParameterWrite.go | 2 +-
.../model/ApduDataExtOpenRoutingTableRequest.go | 2 +-
.../model/ApduDataExtPropertyDescriptionRead.go | 2 +-
.../ApduDataExtPropertyDescriptionResponse.go | 10 ++--
.../model/ApduDataExtPropertyValueRead.go | 2 +-
.../model/ApduDataExtPropertyValueResponse.go | 2 +-
.../model/ApduDataExtPropertyValueWrite.go | 2 +-
.../model/ApduDataExtReadRouterMemoryRequest.go | 2 +-
.../model/ApduDataExtReadRouterMemoryResponse.go | 2 +-
.../model/ApduDataExtReadRouterStatusRequest.go | 2 +-
.../model/ApduDataExtReadRouterStatusResponse.go | 2 +-
.../model/ApduDataExtReadRoutingTableRequest.go | 2 +-
.../model/ApduDataExtReadRoutingTableResponse.go | 2 +-
.../model/ApduDataExtWriteRouterMemoryRequest.go | 2 +-
.../model/ApduDataExtWriteRouterStatusRequest.go | 2 +-
.../model/ApduDataExtWriteRoutingTableRequest.go | 2 +-
.../readwrite/model/ApduDataGroupValueRead.go | 6 +-
.../readwrite/model/ApduDataGroupValueResponse.go | 4 +-
.../readwrite/model/ApduDataGroupValueWrite.go | 4 +-
.../model/ApduDataIndividualAddressRead.go | 2 +-
.../model/ApduDataIndividualAddressResponse.go | 2 +-
.../model/ApduDataIndividualAddressWrite.go | 2 +-
.../knxnetip/readwrite/model/ApduDataMemoryRead.go | 2 +-
.../readwrite/model/ApduDataMemoryResponse.go | 2 +-
.../readwrite/model/ApduDataMemoryWrite.go | 2 +-
.../knxnetip/readwrite/model/ApduDataOther.go | 2 +-
.../knxnetip/readwrite/model/ApduDataRestart.go | 2 +-
.../readwrite/model/ApduDataUserMessage.go | 2 +-
plc4go/protocols/knxnetip/readwrite/model/CEMI.go | 4 +-
.../readwrite/model/CEMIAdditionalInformation.go | 4 +-
.../CEMIAdditionalInformationBusmonitorInfo.go | 2 +-
.../CEMIAdditionalInformationRelativeTimestamp.go | 2 +-
.../knxnetip/readwrite/model/CEMIPriority.go | 4 +-
.../knxnetip/readwrite/model/ChannelInformation.go | 2 +-
.../knxnetip/readwrite/model/ComObjectTable.go | 4 +-
.../readwrite/model/ComObjectTableAddresses.go | 4 +-
.../model/ComObjectTableRealisationType1.go | 2 +-
.../model/ComObjectTableRealisationType2.go | 2 +-
.../model/ComObjectTableRealisationType6.go | 2 +-
.../knxnetip/readwrite/model/ComObjectValueType.go | 4 +-
.../knxnetip/readwrite/model/ConnectionRequest.go | 2 +-
.../model/ConnectionRequestInformation.go | 4 +-
...ConnectionRequestInformationDeviceManagement.go | 2 +-
...ConnectionRequestInformationTunnelConnection.go | 6 +-
.../knxnetip/readwrite/model/ConnectionResponse.go | 2 +-
.../readwrite/model/ConnectionResponseDataBlock.go | 4 +-
.../ConnectionResponseDataBlockDeviceManagement.go | 2 +-
.../ConnectionResponseDataBlockTunnelConnection.go | 2 +-
.../readwrite/model/ConnectionStateRequest.go | 6 +-
.../readwrite/model/ConnectionStateResponse.go | 2 +-
.../knxnetip/readwrite/model/DIBDeviceInfo.go | 2 +-
.../knxnetip/readwrite/model/DIBSuppSvcFamilies.go | 2 +-
.../knxnetip/readwrite/model/DescriptionRequest.go | 2 +-
.../readwrite/model/DescriptionResponse.go | 2 +-
.../readwrite/model/DeviceConfigurationAck.go | 2 +-
.../model/DeviceConfigurationAckDataBlock.go | 2 +-
.../readwrite/model/DeviceConfigurationRequest.go | 2 +-
.../model/DeviceConfigurationRequestDataBlock.go | 6 +-
.../knxnetip/readwrite/model/DeviceDescriptor.go | 4 +-
.../readwrite/model/DeviceDescriptorMediumType.go | 4 +-
.../readwrite/model/DeviceDescriptorType2.go | 2 +-
.../knxnetip/readwrite/model/DeviceStatus.go | 6 +-
.../knxnetip/readwrite/model/DisconnectRequest.go | 6 +-
.../knxnetip/readwrite/model/DisconnectResponse.go | 2 +-
.../knxnetip/readwrite/model/FirmwareType.go | 4 +-
.../model/GroupObjectDescriptorRealisationType1.go | 6 +-
.../model/GroupObjectDescriptorRealisationType2.go | 2 +-
.../model/GroupObjectDescriptorRealisationType6.go | 2 +-
.../model/GroupObjectDescriptorRealisationType7.go | 2 +-
.../model/GroupObjectDescriptorRealisationTypeB.go | 2 +-
.../readwrite/model/HPAIControlEndpoint.go | 2 +-
.../knxnetip/readwrite/model/HPAIDataEndpoint.go | 2 +-
.../readwrite/model/HPAIDiscoveryEndpoint.go | 2 +-
.../knxnetip/readwrite/model/HostProtocolCode.go | 4 +-
.../knxnetip/readwrite/model/IPAddress.go | 2 +-
.../knxnetip/readwrite/model/KnxAddress.go | 2 +-
.../readwrite/model/KnxDatapointMainType.go | 4 +-
.../knxnetip/readwrite/model/KnxDatapointType.go | 4 +-
.../knxnetip/readwrite/model/KnxGroupAddress.go | 4 +-
.../readwrite/model/KnxGroupAddress2Level.go | 2 +-
.../readwrite/model/KnxGroupAddress3Level.go | 2 +-
.../readwrite/model/KnxGroupAddressFreeLevel.go | 2 +-
.../readwrite/model/KnxInterfaceObjectProperty.go | 4 +-
.../readwrite/model/KnxInterfaceObjectType.go | 4 +-
.../protocols/knxnetip/readwrite/model/KnxLayer.go | 4 +-
.../knxnetip/readwrite/model/KnxManufacturer.go | 4 +-
.../knxnetip/readwrite/model/KnxMedium.go | 4 +-
.../knxnetip/readwrite/model/KnxNetIpCore.go | 2 +-
.../readwrite/model/KnxNetIpDeviceManagement.go | 2 +-
.../knxnetip/readwrite/model/KnxNetIpMessage.go | 4 +-
.../knxnetip/readwrite/model/KnxNetIpRouting.go | 2 +-
.../knxnetip/readwrite/model/KnxNetIpTunneling.go | 2 +-
.../knxnetip/readwrite/model/KnxNetObjectServer.go | 2 +-
.../model/KnxNetRemoteConfigurationAndDiagnosis.go | 2 +-
.../readwrite/model/KnxNetRemoteLogging.go | 2 +-
.../readwrite/model/KnxPropertyDataType.go | 4 +-
.../knxnetip/readwrite/model/LBusmonInd.go | 2 +-
.../protocols/knxnetip/readwrite/model/LDataCon.go | 2 +-
.../knxnetip/readwrite/model/LDataExtended.go | 2 +-
.../knxnetip/readwrite/model/LDataFrame.go | 4 +-
.../knxnetip/readwrite/model/LDataFrameACK.go | 2 +-
.../protocols/knxnetip/readwrite/model/LDataInd.go | 2 +-
.../protocols/knxnetip/readwrite/model/LDataReq.go | 2 +-
.../knxnetip/readwrite/model/LPollData.go | 6 +-
.../knxnetip/readwrite/model/LPollDataCon.go | 2 +-
.../knxnetip/readwrite/model/LPollDataReq.go | 2 +-
.../protocols/knxnetip/readwrite/model/LRawCon.go | 2 +-
.../protocols/knxnetip/readwrite/model/LRawInd.go | 2 +-
.../protocols/knxnetip/readwrite/model/LRawReq.go | 2 +-
.../knxnetip/readwrite/model/MACAddress.go | 2 +-
.../readwrite/model/MFuncPropCommandReq.go | 2 +-
.../knxnetip/readwrite/model/MFuncPropCon.go | 2 +-
.../readwrite/model/MFuncPropStateReadReq.go | 2 +-
.../knxnetip/readwrite/model/MPropInfoInd.go | 2 +-
.../knxnetip/readwrite/model/MPropReadCon.go | 2 +-
.../knxnetip/readwrite/model/MPropReadReq.go | 2 +-
.../knxnetip/readwrite/model/MPropWriteCon.go | 2 +-
.../knxnetip/readwrite/model/MPropWriteReq.go | 2 +-
.../knxnetip/readwrite/model/MResetInd.go | 2 +-
.../knxnetip/readwrite/model/MResetReq.go | 2 +-
.../model/ProjectInstallationIdentifier.go | 2 +-
.../knxnetip/readwrite/model/RelativeTimestamp.go | 2 +-
.../knxnetip/readwrite/model/RoutingIndication.go | 2 +-
.../knxnetip/readwrite/model/SearchRequest.go | 2 +-
.../knxnetip/readwrite/model/SearchResponse.go | 2 +-
.../knxnetip/readwrite/model/ServiceId.go | 4 +-
.../protocols/knxnetip/readwrite/model/Status.go | 4 +-
.../readwrite/model/SupportedPhysicalMedia.go | 4 +-
.../knxnetip/readwrite/model/TDataConnectedInd.go | 2 +-
.../knxnetip/readwrite/model/TDataConnectedReq.go | 2 +-
.../knxnetip/readwrite/model/TDataIndividualInd.go | 2 +-
.../knxnetip/readwrite/model/TDataIndividualReq.go | 2 +-
.../knxnetip/readwrite/model/TunnelingRequest.go | 2 +-
.../readwrite/model/TunnelingRequestDataBlock.go | 6 +-
.../knxnetip/readwrite/model/TunnelingResponse.go | 2 +-
.../readwrite/model/TunnelingResponseDataBlock.go | 2 +-
.../knxnetip/readwrite/model/UnknownMessage.go | 2 +-
plc4go/protocols/modbus/readwrite/ParserHelper.go | 2 +-
.../protocols/modbus/readwrite/XmlParserHelper.go | 2 +-
.../protocols/modbus/readwrite/model/DriverType.go | 4 +-
.../protocols/modbus/readwrite/model/ModbusADU.go | 4 +-
.../modbus/readwrite/model/ModbusAsciiADU.go | 2 +-
.../modbus/readwrite/model/ModbusConstants.go | 2 +-
.../modbus/readwrite/model/ModbusDataType.go | 4 +-
.../ModbusDeviceInformationConformityLevel.go | 4 +-
.../model/ModbusDeviceInformationLevel.go | 4 +-
.../model/ModbusDeviceInformationMoreFollows.go | 4 +-
.../model/ModbusDeviceInformationObject.go | 2 +-
.../modbus/readwrite/model/ModbusErrorCode.go | 4 +-
.../protocols/modbus/readwrite/model/ModbusPDU.go | 4 +-
.../readwrite/model/ModbusPDUDiagnosticRequest.go | 2 +-
.../readwrite/model/ModbusPDUDiagnosticResponse.go | 2 +-
.../modbus/readwrite/model/ModbusPDUError.go | 2 +-
.../model/ModbusPDUGetComEventCounterRequest.go | 2 +-
.../model/ModbusPDUGetComEventCounterResponse.go | 2 +-
.../model/ModbusPDUGetComEventLogRequest.go | 2 +-
.../model/ModbusPDUGetComEventLogResponse.go | 2 +-
.../ModbusPDUMaskWriteHoldingRegisterRequest.go | 2 +-
.../ModbusPDUMaskWriteHoldingRegisterResponse.go | 2 +-
.../readwrite/model/ModbusPDUReadCoilsRequest.go | 2 +-
.../readwrite/model/ModbusPDUReadCoilsResponse.go | 2 +-
.../ModbusPDUReadDeviceIdentificationRequest.go | 2 +-
.../ModbusPDUReadDeviceIdentificationResponse.go | 2 +-
.../model/ModbusPDUReadDiscreteInputsRequest.go | 2 +-
.../model/ModbusPDUReadDiscreteInputsResponse.go | 2 +-
.../model/ModbusPDUReadExceptionStatusRequest.go | 2 +-
.../model/ModbusPDUReadExceptionStatusResponse.go | 2 +-
.../model/ModbusPDUReadFifoQueueRequest.go | 2 +-
.../model/ModbusPDUReadFifoQueueResponse.go | 2 +-
.../model/ModbusPDUReadFileRecordRequest.go | 2 +-
.../model/ModbusPDUReadFileRecordRequestItem.go | 2 +-
.../model/ModbusPDUReadFileRecordResponse.go | 2 +-
.../model/ModbusPDUReadFileRecordResponseItem.go | 2 +-
.../model/ModbusPDUReadHoldingRegistersRequest.go | 2 +-
.../model/ModbusPDUReadHoldingRegistersResponse.go | 2 +-
.../model/ModbusPDUReadInputRegistersRequest.go | 2 +-
.../model/ModbusPDUReadInputRegistersResponse.go | 2 +-
...sPDUReadWriteMultipleHoldingRegistersRequest.go | 2 +-
...PDUReadWriteMultipleHoldingRegistersResponse.go | 2 +-
.../model/ModbusPDUReportServerIdRequest.go | 2 +-
.../model/ModbusPDUReportServerIdResponse.go | 2 +-
.../model/ModbusPDUWriteFileRecordRequest.go | 2 +-
.../model/ModbusPDUWriteFileRecordRequestItem.go | 2 +-
.../model/ModbusPDUWriteFileRecordResponse.go | 2 +-
.../model/ModbusPDUWriteFileRecordResponseItem.go | 2 +-
.../model/ModbusPDUWriteMultipleCoilsRequest.go | 2 +-
.../model/ModbusPDUWriteMultipleCoilsResponse.go | 2 +-
...odbusPDUWriteMultipleHoldingRegistersRequest.go | 2 +-
...dbusPDUWriteMultipleHoldingRegistersResponse.go | 2 +-
.../model/ModbusPDUWriteSingleCoilRequest.go | 2 +-
.../model/ModbusPDUWriteSingleCoilResponse.go | 2 +-
.../model/ModbusPDUWriteSingleRegisterRequest.go | 2 +-
.../model/ModbusPDUWriteSingleRegisterResponse.go | 2 +-
.../modbus/readwrite/model/ModbusRtuADU.go | 2 +-
.../modbus/readwrite/model/ModbusTcpADU.go | 2 +-
plc4go/protocols/s7/readwrite/ParserHelper.go | 2 +-
plc4go/protocols/s7/readwrite/XmlParserHelper.go | 2 +-
.../model/AlarmMessageAckObjectPushType.go | 2 +-
.../s7/readwrite/model/AlarmMessageAckPushType.go | 2 +-
.../readwrite/model/AlarmMessageAckResponseType.go | 2 +-
.../s7/readwrite/model/AlarmMessageAckType.go | 2 +-
.../readwrite/model/AlarmMessageObjectAckType.go | 2 +-
.../readwrite/model/AlarmMessageObjectPushType.go | 2 +-
.../readwrite/model/AlarmMessageObjectQueryType.go | 6 +-
.../s7/readwrite/model/AlarmMessagePushType.go | 2 +-
.../s7/readwrite/model/AlarmMessageQueryType.go | 2 +-
.../protocols/s7/readwrite/model/AlarmStateType.go | 4 +-
plc4go/protocols/s7/readwrite/model/AlarmType.go | 4 +-
.../s7/readwrite/model/AssociatedValueType.go | 2 +-
plc4go/protocols/s7/readwrite/model/COTPPacket.go | 6 +-
.../readwrite/model/COTPPacketConnectionRequest.go | 2 +-
.../model/COTPPacketConnectionResponse.go | 2 +-
.../protocols/s7/readwrite/model/COTPPacketData.go | 2 +-
.../readwrite/model/COTPPacketDisconnectRequest.go | 2 +-
.../model/COTPPacketDisconnectResponse.go | 2 +-
.../s7/readwrite/model/COTPPacketTpduError.go | 2 +-
.../protocols/s7/readwrite/model/COTPParameter.go | 4 +-
.../s7/readwrite/model/COTPParameterCalledTsap.go | 2 +-
.../s7/readwrite/model/COTPParameterCallingTsap.go | 2 +-
.../s7/readwrite/model/COTPParameterChecksum.go | 2 +-
...COTPParameterDisconnectAdditionalInformation.go | 2 +-
.../s7/readwrite/model/COTPParameterTpduSize.go | 2 +-
.../s7/readwrite/model/COTPProtocolClass.go | 4 +-
.../protocols/s7/readwrite/model/COTPTpduSize.go | 4 +-
.../s7/readwrite/model/CpuSubscribeEvents.go | 4 +-
.../s7/readwrite/model/DataTransportErrorCode.go | 4 +-
.../s7/readwrite/model/DataTransportSize.go | 4 +-
plc4go/protocols/s7/readwrite/model/DateAndTime.go | 2 +-
plc4go/protocols/s7/readwrite/model/DeviceGroup.go | 4 +-
plc4go/protocols/s7/readwrite/model/EventType.go | 4 +-
plc4go/protocols/s7/readwrite/model/MemoryArea.go | 4 +-
.../s7/readwrite/model/ModeTransitionType.go | 4 +-
plc4go/protocols/s7/readwrite/model/QueryType.go | 4 +-
plc4go/protocols/s7/readwrite/model/S7Address.go | 4 +-
.../protocols/s7/readwrite/model/S7AddressAny.go | 6 +-
.../s7/readwrite/model/S7DataAlarmMessage.go | 4 +-
plc4go/protocols/s7/readwrite/model/S7Message.go | 12 ++--
.../s7/readwrite/model/S7MessageObjectRequest.go | 10 ++--
.../s7/readwrite/model/S7MessageObjectResponse.go | 6 +-
.../s7/readwrite/model/S7MessageRequest.go | 2 +-
.../s7/readwrite/model/S7MessageResponse.go | 2 +-
.../s7/readwrite/model/S7MessageResponseData.go | 2 +-
.../s7/readwrite/model/S7MessageUserData.go | 2 +-
plc4go/protocols/s7/readwrite/model/S7Parameter.go | 4 +-
.../readwrite/model/S7ParameterModeTransition.go | 6 +-
.../readwrite/model/S7ParameterReadVarRequest.go | 2 +-
.../readwrite/model/S7ParameterReadVarResponse.go | 2 +-
.../model/S7ParameterSetupCommunication.go | 6 +-
.../s7/readwrite/model/S7ParameterUserData.go | 2 +-
.../s7/readwrite/model/S7ParameterUserDataItem.go | 4 +-
.../model/S7ParameterUserDataItemCPUFunctions.go | 2 +-
.../readwrite/model/S7ParameterWriteVarRequest.go | 2 +-
.../readwrite/model/S7ParameterWriteVarResponse.go | 2 +-
plc4go/protocols/s7/readwrite/model/S7Payload.go | 4 +-
.../s7/readwrite/model/S7PayloadAlarm8.go | 2 +-
.../s7/readwrite/model/S7PayloadAlarmAckInd.go | 2 +-
.../s7/readwrite/model/S7PayloadAlarmS.go | 2 +-
.../s7/readwrite/model/S7PayloadAlarmSC.go | 2 +-
.../s7/readwrite/model/S7PayloadAlarmSQ.go | 2 +-
.../readwrite/model/S7PayloadDiagnosticMessage.go | 2 +-
.../s7/readwrite/model/S7PayloadNotify.go | 2 +-
.../s7/readwrite/model/S7PayloadNotify8.go | 2 +-
.../s7/readwrite/model/S7PayloadReadVarResponse.go | 2 +-
.../s7/readwrite/model/S7PayloadUserData.go | 2 +-
.../s7/readwrite/model/S7PayloadUserDataItem.go | 4 +-
.../S7PayloadUserDataItemCpuFunctionAlarmAck.go | 2 +-
...yloadUserDataItemCpuFunctionAlarmAckResponse.go | 2 +-
.../S7PayloadUserDataItemCpuFunctionAlarmQuery.go | 10 ++--
...oadUserDataItemCpuFunctionAlarmQueryResponse.go | 6 +-
...ayloadUserDataItemCpuFunctionMsgSubscription.go | 6 +-
...aItemCpuFunctionMsgSubscriptionAlarmResponse.go | 2 +-
...erDataItemCpuFunctionMsgSubscriptionResponse.go | 2 +-
...ataItemCpuFunctionMsgSubscriptionSysResponse.go | 2 +-
...PayloadUserDataItemCpuFunctionReadSzlRequest.go | 2 +-
...ayloadUserDataItemCpuFunctionReadSzlResponse.go | 2 +-
.../s7/readwrite/model/S7PayloadWriteVarRequest.go | 2 +-
.../readwrite/model/S7PayloadWriteVarResponse.go | 2 +-
.../s7/readwrite/model/S7VarPayloadDataItem.go | 14 ++---
.../s7/readwrite/model/S7VarPayloadStatusItem.go | 2 +-
.../readwrite/model/S7VarRequestParameterItem.go | 4 +-
.../model/S7VarRequestParameterItemAddress.go | 2 +-
plc4go/protocols/s7/readwrite/model/State.go | 2 +-
.../protocols/s7/readwrite/model/StaticHelper.go | 6 +-
.../protocols/s7/readwrite/model/SyntaxIdType.go | 4 +-
.../s7/readwrite/model/SzlDataTreeItem.go | 2 +-
plc4go/protocols/s7/readwrite/model/SzlId.go | 2 +-
.../s7/readwrite/model/SzlModuleTypeClass.go | 4 +-
plc4go/protocols/s7/readwrite/model/SzlSublist.go | 4 +-
plc4go/protocols/s7/readwrite/model/TPKTPacket.go | 6 +-
.../protocols/s7/readwrite/model/TransportSize.go | 4 +-
.../protocols/simulated/readwrite/ParserHelper.go | 2 +-
.../simulated/readwrite/XmlParserHelper.go | 2 +-
.../protocols/simulated/readwrite/model/Dummy.go | 2 +-
.../readwrite/model/SimulatedDataTypeSizes.go | 4 +-
plc4go/spi/PlcValueHandler.go | 2 +-
plc4go/spi/model/DefaultPlcBrowseItem.go | 4 +-
plc4go/spi/model/DefaultPlcBrowseRequest.go | 2 +-
plc4go/spi/model/DefaultPlcBrowseResponseItem.go | 2 +-
plc4go/spi/model/DefaultPlcConsumerRegistration.go | 2 +-
plc4go/spi/model/DefaultPlcReadResponseItem.go | 2 +-
plc4go/spi/model/DefaultPlcSubscriptionRequest.go | 2 +-
plc4go/spi/model/DefaultPlcTagRequest.go | 2 +-
plc4go/spi/model/DefaultPlcWriteRequest.go | 14 ++---
plc4go/spi/model/DefaultPlcWriteResponse.go | 2 +-
plc4go/spi/options/DiscoveryOption.go | 8 +--
plc4go/spi/testutils/DriverTestRunner.go | 14 ++---
plc4go/spi/testutils/ManualTestRunner.go | 6 +-
plc4go/spi/testutils/ParserSerializerTestRunner.go | 2 +-
plc4go/spi/utils/Misc.go | 2 +-
plc4go/spi/utils/ReadBufferJsonBased.go | 40 ++++++-------
plc4go/spi/utils/ReadBufferXmlBased.go | 2 +-
plc4go/spi/utils/WorkerPool_test.go | 4 +-
plc4go/spi/utils/WriteBuffer.go | 2 +-
plc4go/spi/utils/WriteBufferBoxBased.go | 2 +-
plc4go/spi/utils/WriteBufferByteBased.go | 2 +-
plc4go/spi/utils/WriteBufferByteBased_test.go | 2 +-
plc4go/spi/utils/WriteBufferJsonBased.go | 28 ++++-----
plc4go/spi/utils/WriteBufferXmlBased.go | 4 +-
plc4go/spi/utils/bufferCommons.go | 6 +-
plc4go/spi/utils/dumpUtils.go | 8 +--
plc4go/spi/utils/dumpUtils_test.go | 10 ++--
plc4go/spi/utils/hex.go | 2 +-
plc4go/spi/values/PlcDATE.go | 2 +-
plc4go/spi/values/PlcLDATE.go | 2 +-
plc4go/spi/values/PlcLDATE_AND_TIME.go | 2 +-
plc4go/spi/values/PlcLTIME_OF_DAY.go | 2 +-
plc4go/spi/values/PlcTIME_OF_DAY.go | 2 +-
plc4go/spi/values/PlcValueHandler.go | 16 +++---
plc4go/spi/values/WriteBufferPlcValueBased.go | 2 +-
plc4go/tests/drivers/tests/ads_driver_test.go | 2 +-
plc4go/tests/drivers/tests/knxnetip_driver_test.go | 2 +-
plc4go/tests/drivers/tests/modbus_driver_test.go | 2 +-
plc4go/tests/drivers/tests/s7_driver_test.go | 2 +-
plc4go/tools/plc4xgenerator/gen.go | 6 +-
plc4go/tools/plc4xpcapanalyzer/cmd/analyze.go | 2 +-
2433 files changed, 3471 insertions(+), 3471 deletions(-)
diff --git a/code-generation/language-go/src/main/java/org/apache/plc4x/language/go/GoLanguageTemplateHelper.java b/code-generation/language-go/src/main/java/org/apache/plc4x/language/go/GoLanguageTemplateHelper.java
index 841bda3f98..bb5bdfbf9d 100644
--- a/code-generation/language-go/src/main/java/org/apache/plc4x/language/go/GoLanguageTemplateHelper.java
+++ b/code-generation/language-go/src/main/java/org/apache/plc4x/language/go/GoLanguageTemplateHelper.java
@@ -618,8 +618,8 @@ public class GoLanguageTemplateHelper extends BaseFreemarkerLanguageTemplateHelp
Term c = ternaryTerm.getC();
String castExpressionForTypeReference = getCastExpressionForTypeReference(fieldType);
String inlineIf = "utils.InlineIf(" + toExpression(field, new DefaultBooleanTypeReference(), a, parserArguments, serializerArguments, serialize, false) + ", " +
- "func() interface{} {return " + castExpressionForTypeReference + "(" + toExpression(field, fieldType, b, parserArguments, serializerArguments, serialize, false) + ")}, " +
- "func() interface{} {return " + castExpressionForTypeReference + "(" + toExpression(field, fieldType, c, parserArguments, serializerArguments, serialize, false) + ")})";
+ "func() any {return " + castExpressionForTypeReference + "(" + toExpression(field, fieldType, b, parserArguments, serializerArguments, serialize, false) + ")}, " +
+ "func() any {return " + castExpressionForTypeReference + "(" + toExpression(field, fieldType, c, parserArguments, serializerArguments, serialize, false) + ")})";
if (fieldType != null) {
if (fieldType instanceof ByteOrderTypeReference) {
return tracer.dive("byteordertypereference") + "(" + inlineIf + ").(binary.ByteOrder)";
diff --git a/code-generation/language-go/src/main/resources/templates/go/complex-type-template.go.ftlh b/code-generation/language-go/src/main/resources/templates/go/complex-type-template.go.ftlh
index 4c7ebf0312..1516bf99be 100644
--- a/code-generation/language-go/src/main/resources/templates/go/complex-type-template.go.ftlh
+++ b/code-generation/language-go/src/main/resources/templates/go/complex-type-template.go.ftlh
@@ -382,7 +382,7 @@ func New${type.name}(
}
// Deprecated: use the interface for direct cast
-func Cast${type.name}(structType interface{}) ${type.name} {
+func Cast${type.name}(structType any) ${type.name} {
if casted, ok := structType.(${type.name}); ok {
return casted
}
@@ -1264,7 +1264,7 @@ func ${type.name}ParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffe
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of ${type.name}")<@emitImport import="github.com/pkg/errors" />
}
if ${helper.toTypeSafeCompare(reservedField)} {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": ${helper.getReservedValue(reservedField)},
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -1337,7 +1337,7 @@ func ${type.name}ParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffe
InitializeParent(${type.name}<#if type.propertyFields?has_content>, </#if> <#list type.propertyFields as field><#if helper.needsPointerAccess(field)>*</#if>${helper.getLanguageTypeNameForField(field)}<#sep>, </#sep></#list>)
GetParent() ${type.name}
}
- var _childTemp interface{}
+ var _childTemp any
var _child ${type.name}ChildSerializeRequirement
var typeSwitchError error
switch {
@@ -1801,7 +1801,7 @@ func (m *_${type.name}) SerializeWithWriteBuffer(ctx context.Context, writeBuffe
{
var reserved ${helper.getLanguageTypeNameForTypeReference(simpleTypeReference)} = ${helper.getReservedValue(reservedField)}
if <#if type.isAbstract()>p</#if>m.reservedField${reservedFieldIndex} != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": ${helper.getReservedValue(reservedField)},
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/code-generation/language-go/src/main/resources/templates/go/enum-template.go.ftlh b/code-generation/language-go/src/main/resources/templates/go/enum-template.go.ftlh
index 5071090c1a..c3098ec08d 100644
--- a/code-generation/language-go/src/main/resources/templates/go/enum-template.go.ftlh
+++ b/code-generation/language-go/src/main/resources/templates/go/enum-template.go.ftlh
@@ -159,8 +159,8 @@ func ${type.name}Knows(value <#if type.type.isPresent()>${helper.getLanguageType
return false;
}
-func Cast${type.name}(structType interface{}) ${type.name} {
- castFunc := func(typ interface{}) ${type.name} {
+func Cast${type.name}(structType any) ${type.name} {
+ castFunc := func(typ any) ${type.name} {
if s${type.name}, ok := typ.(${type.name}); ok {
return s${type.name}
}
diff --git a/code-generation/language-go/src/main/resources/templates/go/parser-factory-template.go.ftlh b/code-generation/language-go/src/main/resources/templates/go/parser-factory-template.go.ftlh
index d3968bffa4..9d8b7cdf70 100644
--- a/code-generation/language-go/src/main/resources/templates/go/parser-factory-template.go.ftlh
+++ b/code-generation/language-go/src/main/resources/templates/go/parser-factory-template.go.ftlh
@@ -60,7 +60,7 @@ import (
type ${helper.getSanitizedProtocolName()?cap_first}ParserHelper struct {
}
-func (m ${helper.getSanitizedProtocolName()?cap_first}ParserHelper) Parse(typeName string, arguments []string, io utils.ReadBuffer) (interface{}, error) {
+func (m ${helper.getSanitizedProtocolName()?cap_first}ParserHelper) Parse(typeName string, arguments []string, io utils.ReadBuffer) (any, error) {
switch typeName {
<#list helper.getComplexTypeRootDefinitions() as typeDefinition>
case "${typeDefinition.name}":
diff --git a/code-generation/language-go/src/main/resources/templates/go/xml-parser-factory-template.go.ftlh b/code-generation/language-go/src/main/resources/templates/go/xml-parser-factory-template.go.ftlh
index f909f2f771..457a35a3d3 100644
--- a/code-generation/language-go/src/main/resources/templates/go/xml-parser-factory-template.go.ftlh
+++ b/code-generation/language-go/src/main/resources/templates/go/xml-parser-factory-template.go.ftlh
@@ -70,7 +70,7 @@ func init() {
_ = utils.Dump
}
-func (m ${helper.getSanitizedProtocolName()?cap_first}XmlParserHelper) Parse(typeName string, xmlString string, parserArguments ...string) (interface{}, error) {
+func (m ${helper.getSanitizedProtocolName()?cap_first}XmlParserHelper) Parse(typeName string, xmlString string, parserArguments ...string) (any, error) {
switch typeName {
<#list helper.getComplexTypeRootDefinitions() as typeDefinition>
case "${typeDefinition.name}":
diff --git a/code-generation/language-go/src/test/resources/plc4go/protocols/test/readwrite/model/StaticHelper.go b/code-generation/language-go/src/test/resources/plc4go/protocols/test/readwrite/model/StaticHelper.go
index 774996058e..5aa0b42172 100644
--- a/code-generation/language-go/src/test/resources/plc4go/protocols/test/readwrite/model/StaticHelper.go
+++ b/code-generation/language-go/src/test/resources/plc4go/protocols/test/readwrite/model/StaticHelper.go
@@ -77,7 +77,7 @@ func Parse(io utils.ReadBuffer) int8 {
func Serialize(io utils.WriteBuffer, data byte) {
}
-func ReadManualField(io utils.ReadBuffer, simpleField uint8) (interface{}, error) {
+func ReadManualField(io utils.ReadBuffer, simpleField uint8) (any, error) {
return uint8(0), nil
}
diff --git a/plc4go/internal/ads/ValueHandler.go b/plc4go/internal/ads/ValueHandler.go
index eacd6025d0..ba7155b69a 100644
--- a/plc4go/internal/ads/ValueHandler.go
+++ b/plc4go/internal/ads/ValueHandler.go
@@ -50,11 +50,11 @@ func NewValueHandlerWithDriverContext(driverContext *DriverContext, tagHandler T
}
}
-func (t ValueHandler) NewPlcValue(tag model.PlcTag, value interface{}) (apiValues.PlcValue, error) {
+func (t ValueHandler) NewPlcValue(tag model.PlcTag, value any) (apiValues.PlcValue, error) {
return t.parseType(tag, value)
}
-func (t ValueHandler) parseType(tag model.PlcTag, value interface{}) (apiValues.PlcValue, error) {
+func (t ValueHandler) parseType(tag model.PlcTag, value any) (apiValues.PlcValue, error) {
// Resolve the symbolic tag to a direct tag, that has all the important information.
var directTag model2.DirectPlcTag
switch tag.(type) {
@@ -72,7 +72,7 @@ func (t ValueHandler) parseType(tag model.PlcTag, value interface{}) (apiValues.
return t.AdsParseType(directTag.DataType, directTag.DataType.GetArrayInfo(), value)
}
-func (t ValueHandler) AdsParseType(datatype driverModel.AdsDataTypeTableEntry, arrayInfo []driverModel.AdsDataTypeArrayInfo, value interface{}) (apiValues.PlcValue, error) {
+func (t ValueHandler) AdsParseType(datatype driverModel.AdsDataTypeTableEntry, arrayInfo []driverModel.AdsDataTypeArrayInfo, value any) (apiValues.PlcValue, error) {
// Do the normal resolution.
if (arrayInfo != nil) && (len(arrayInfo) > 0) {
return t.AdsParseListType(datatype, arrayInfo, value)
@@ -82,7 +82,7 @@ func (t ValueHandler) AdsParseType(datatype driverModel.AdsDataTypeTableEntry, a
return t.AdsParseSimpleType(datatype, value)
}
-func (t ValueHandler) AdsParseListType(dataType driverModel.AdsDataTypeTableEntry, arrayInfo []driverModel.AdsDataTypeArrayInfo, value interface{}) (apiValues.PlcValue, error) {
+func (t ValueHandler) AdsParseListType(dataType driverModel.AdsDataTypeTableEntry, arrayInfo []driverModel.AdsDataTypeArrayInfo, value any) (apiValues.PlcValue, error) {
// We've reached the end of the recursion.
if len(arrayInfo) == 0 {
return t.AdsParseType(dataType, arrayInfo, value)
@@ -90,9 +90,9 @@ func (t ValueHandler) AdsParseListType(dataType driverModel.AdsDataTypeTableEntr
s := reflect.ValueOf(value)
if s.Kind() != reflect.Slice {
- return nil, errors.New("couldn't cast value to []interface{}")
+ return nil, errors.New("couldn't cast value to []any")
}
- curValues := make([]interface{}, s.Len())
+ curValues := make([]any, s.Len())
for i := 0; i < s.Len(); i++ {
curValues[i] = s.Index(i).Interface()
}
@@ -120,8 +120,8 @@ func (t ValueHandler) AdsParseListType(dataType driverModel.AdsDataTypeTableEntr
return spiValues.NewPlcList(plcValues), nil
}
-func (t ValueHandler) AdsParseStructType(dataType driverModel.AdsDataTypeTableEntry, value interface{}) (apiValues.PlcValue, error) {
- // Unfortunately it seems impossible to cast map[string]apiValues.PlcValue to map[string]interface{}
+func (t ValueHandler) AdsParseStructType(dataType driverModel.AdsDataTypeTableEntry, value any) (apiValues.PlcValue, error) {
+ // Unfortunately it seems impossible to cast map[string]apiValues.PlcValue to map[string]any
if plcStruct, ok := value.(spiValues.PlcStruct); ok {
parsedValues := map[string]apiValues.PlcValue{}
childValues := plcStruct.GetStruct()
@@ -142,7 +142,7 @@ func (t ValueHandler) AdsParseStructType(dataType driverModel.AdsDataTypeTableEn
}
return spiValues.NewPlcStruct(parsedValues), nil
- } else if simpleMap, ok := value.(map[string]interface{}); ok {
+ } else if simpleMap, ok := value.(map[string]any); ok {
parsedValues := map[string]apiValues.PlcValue{}
for _, childTypeEntry := range dataType.GetChildren() {
@@ -166,7 +166,7 @@ func (t ValueHandler) AdsParseStructType(dataType driverModel.AdsDataTypeTableEn
return nil, nil
}
-func (t ValueHandler) AdsParseSimpleType(dataType driverModel.AdsDataTypeTableEntry, value interface{}) (apiValues.PlcValue, error) {
+func (t ValueHandler) AdsParseSimpleType(dataType driverModel.AdsDataTypeTableEntry, value any) (apiValues.PlcValue, error) {
// Get the PlcValue type for this ads-datatype.
plcValueType := t.driverContext.getDataTypeForDataTypeTableEntry(dataType)
return t.NewPlcValueFromType(plcValueType, value)
diff --git a/plc4go/internal/bacnetip/ApplicationModule.go b/plc4go/internal/bacnetip/ApplicationModule.go
index e62289d42b..7cc45b36ff 100644
--- a/plc4go/internal/bacnetip/ApplicationModule.go
+++ b/plc4go/internal/bacnetip/ApplicationModule.go
@@ -208,7 +208,7 @@ type Application struct {
objectIdentifier map[string]*LocalDeviceObject
localDevice *LocalDeviceObject
deviceInfoCache *DeviceInfoCache
- controllers map[string]interface{}
+ controllers map[string]any
helpers map[string]func(pdu _PDU) error
_startupDisabled bool
@@ -246,7 +246,7 @@ func NewApplication(localDevice *LocalDeviceObject, deviceInfoCache *DeviceInfoC
a.deviceInfoCache = deviceInfoCache
// controllers for managing confirmed requests as a client
- a.controllers = map[string]interface{}{}
+ a.controllers = map[string]any{}
// now set up the rest of the capabilities
a.Collector = Collector{}
diff --git a/plc4go/internal/bacnetip/BACnetVirtualLinkLayerService.go b/plc4go/internal/bacnetip/BACnetVirtualLinkLayerService.go
index 7a574206da..edacc4a8ab 100644
--- a/plc4go/internal/bacnetip/BACnetVirtualLinkLayerService.go
+++ b/plc4go/internal/bacnetip/BACnetVirtualLinkLayerService.go
@@ -80,7 +80,7 @@ type UDPMultiplexer struct {
annexJ *_MultiplexServer
}
-func NewUDPMultiplexer(address interface{}, noBroadcast bool) (*UDPMultiplexer, error) {
+func NewUDPMultiplexer(address any, noBroadcast bool) (*UDPMultiplexer, error) {
log.Debug().Msgf("NewUDPMultiplexer %v noBroadcast=%t", address, noBroadcast)
u := &UDPMultiplexer{}
diff --git a/plc4go/internal/bacnetip/CommunicationsModule.go b/plc4go/internal/bacnetip/CommunicationsModule.go
index 25b06d9e79..fa13459ff0 100644
--- a/plc4go/internal/bacnetip/CommunicationsModule.go
+++ b/plc4go/internal/bacnetip/CommunicationsModule.go
@@ -333,7 +333,7 @@ func (a *ApplicationServiceElement) _setElementService(elementService _ServiceAc
}
// bind a list of clients and servers together, top down
-func bind(args ...interface{}) error {
+func bind(args ...any) error {
// generic bind is pairs of names
if len(args) == 0 {
// find unbound clients and bind them
diff --git a/plc4go/internal/bacnetip/Discoverer.go b/plc4go/internal/bacnetip/Discoverer.go
index 46091a275c..81c0dba93d 100644
--- a/plc4go/internal/bacnetip/Discoverer.go
+++ b/plc4go/internal/bacnetip/Discoverer.go
@@ -508,12 +508,12 @@ type option func(specificOptions *protocolSpecificOptions) error
func extractProtocolSpecificOptions(discoveryOptions []options.WithDiscoveryOption) (*protocolSpecificOptions, error) {
var collectedOptions []option
- filteredOptionMap := make(map[string][]interface{})
+ filteredOptionMap := make(map[string][]any)
for _, protocolSpecificOption := range options.FilterDiscoveryOptionProtocolSpecific(discoveryOptions) {
key := protocolSpecificOption.GetKey()
value := protocolSpecificOption.GetValue()
if _, ok := filteredOptionMap[key]; !ok {
- filteredOptionMap[key] = make([]interface{}, 0)
+ filteredOptionMap[key] = make([]any, 0)
}
filteredOptionMap[key] = append(filteredOptionMap[key], value)
}
@@ -619,7 +619,7 @@ func extractProtocolSpecificOptions(discoveryOptions []options.WithDiscoveryOpti
return NewProtocolSpecificOptions(collectedOptions...)
}
-func exactlyOneInt(filteredOptionMap map[string][]interface{}, key string) (int, error) {
+func exactlyOneInt(filteredOptionMap map[string][]any, key string) (int, error) {
value, err := exactlyOne(filteredOptionMap, key)
if err != nil {
return 0, err
@@ -631,7 +631,7 @@ func exactlyOneInt(filteredOptionMap map[string][]interface{}, key string) (int,
return int(parsedInt), nil
}
-func exactlyOneUint(filteredOptionMap map[string][]interface{}, key string) (uint, error) {
+func exactlyOneUint(filteredOptionMap map[string][]any, key string) (uint, error) {
value, err := exactlyOne(filteredOptionMap, key)
if err != nil {
return 0, err
@@ -642,7 +642,7 @@ func exactlyOneUint(filteredOptionMap map[string][]interface{}, key string) (uin
}
return uint(parsedInt), nil
}
-func exactlyOneString(filteredOptionMap map[string][]interface{}, key string) (string, error) {
+func exactlyOneString(filteredOptionMap map[string][]any, key string) (string, error) {
value, err := exactlyOne(filteredOptionMap, key)
if err != nil {
return "", err
@@ -650,7 +650,7 @@ func exactlyOneString(filteredOptionMap map[string][]interface{}, key string) (s
return fmt.Sprintf("%v", value), nil
}
-func exactlyOne(filteredOptionMap map[string][]interface{}, key string) (interface{}, error) {
+func exactlyOne(filteredOptionMap map[string][]any, key string) (any, error) {
values := filteredOptionMap[key]
if len(values) != 1 {
return nil, errors.Errorf("%s expects only one value", key)
diff --git a/plc4go/internal/bacnetip/IOCBModule.go b/plc4go/internal/bacnetip/IOCBModule.go
index 3a0a3a7027..14bddab639 100644
--- a/plc4go/internal/bacnetip/IOCBModule.go
+++ b/plc4go/internal/bacnetip/IOCBModule.go
@@ -110,7 +110,7 @@ type IOCB struct {
ioCallback []func()
ioQueue []_IOCB
ioTimeout *time.Timer
- ioTimoutCancel chan interface{}
+ ioTimoutCancel chan any
priority int
}
@@ -241,7 +241,7 @@ func (i *IOCB) SetTimeout(delay time.Duration) {
} else {
now := time.Now()
i.ioTimeout = time.NewTimer(delay)
- i.ioTimoutCancel = make(chan interface{})
+ i.ioTimoutCancel = make(chan any)
go func() {
select {
case timeout := <-i.ioTimeout.C:
@@ -379,7 +379,7 @@ func (i *IOQueue) Get(block bool, delay *time.Duration) (_IOCB, error) {
// wait for something to be in the queue
if len(i.queue) == 0 {
if delay != nil {
- gotSomething := make(chan interface{})
+ gotSomething := make(chan any)
go func() {
i.notEmpty.Wait()
close(gotSomething)
diff --git a/plc4go/internal/bacnetip/NetworkService.go b/plc4go/internal/bacnetip/NetworkService.go
index 298e957bd5..b67ef9f1d0 100644
--- a/plc4go/internal/bacnetip/NetworkService.go
+++ b/plc4go/internal/bacnetip/NetworkService.go
@@ -80,7 +80,7 @@ func (n *RouterInfoCache) GetRouterInfo(*uint16, *uint16) *RouterInfo {
return nil
}
-func (n *RouterInfoCache) UpdateRouterInfo(*uint16, interface{}, interface{}) error {
+func (n *RouterInfoCache) UpdateRouterInfo(*uint16, any, any) error {
panic("not implemented yet")
return nil
}
@@ -89,7 +89,7 @@ func (n *RouterInfoCache) UpdateRouterStatus(*uint16, *Address, []*uint16) {
panic("not implemented yet")
}
-func (n *RouterInfoCache) DeleteRouterInfo(*uint16, interface{}, interface{}) error {
+func (n *RouterInfoCache) DeleteRouterInfo(*uint16, any, any) error {
panic("not implemented yet")
return nil
}
@@ -139,11 +139,11 @@ func (n *NetworkAdapter) ProcessNPDU(npdu _PDU) error {
return n.Request(npdu)
}
-func (n *NetworkAdapter) EstablishConnectionToNetwork(net interface{}) error {
+func (n *NetworkAdapter) EstablishConnectionToNetwork(net any) error {
panic("not implemented yet")
}
-func (n *NetworkAdapter) DisconnectConnectionToNetwork(net interface{}) error {
+func (n *NetworkAdapter) DisconnectConnectionToNetwork(net any) error {
panic("not implemented yet")
}
@@ -237,7 +237,7 @@ func (n *NetworkServiceAccessPoint) bind(server _Server, net *uint16, address *A
}
// UpdateRouterReference Update references to routers.
-func (n *NetworkServiceAccessPoint) UpdateRouterReference(snet *uint16, address, dnets interface{}) error {
+func (n *NetworkServiceAccessPoint) UpdateRouterReference(snet *uint16, address, dnets any) error {
log.Debug().Msgf("UpdateRouterReference %d %s %d", snet, address, dnets)
// see if we have an adapter for the snet
@@ -251,7 +251,7 @@ func (n *NetworkServiceAccessPoint) UpdateRouterReference(snet *uint16, address,
}
// DeleteRouterReference Delete references to routers/networks.
-func (n *NetworkServiceAccessPoint) DeleteRouterReference(snet *uint16, address, dnets interface{}) error {
+func (n *NetworkServiceAccessPoint) DeleteRouterReference(snet *uint16, address, dnets any) error {
log.Debug().Msgf("NetworkServiceAccessPoint %d %s %s", snet, address, dnets)
// see if we have an adapter for the snet
diff --git a/plc4go/internal/bacnetip/PDU.go b/plc4go/internal/bacnetip/PDU.go
index 64bf599254..8308e45a3d 100644
--- a/plc4go/internal/bacnetip/PDU.go
+++ b/plc4go/internal/bacnetip/PDU.go
@@ -108,7 +108,7 @@ type Address struct {
AddrBroadcastTuple *AddressTuple[string, uint16]
}
-func NewAddress(args ...interface{}) (*Address, error) {
+func NewAddress(args ...any) (*Address, error) {
log.Debug().Interface("args", args).Msg("NewAddress")
a := &Address{}
a.AddrNet = nil
@@ -142,7 +142,7 @@ func NewAddress(args ...interface{}) (*Address, error) {
}
// decodeAddress Initialize the address from a string. Lots of different forms are supported
-func (a *Address) decodeAddress(addr interface{}) error {
+func (a *Address) decodeAddress(addr any) error {
log.Debug().Msgf("decodeAddress %v (%T)", addr, addr)
// start out assuming this is a local station and didn't get routed
@@ -220,7 +220,7 @@ func (a *Address) decodeAddress(addr interface{}) error {
route_ip_addr := groups[8]
route_ip_port := groups[9]
- a := func(...interface{}) {
+ a := func(...any) {
}
a(net, global_broadcast, local_broadcast, local_addr, local_ip_addr, local_ip_net, local_ip_port, route_addr, route_ip_addr, route_ip_port)
@@ -282,7 +282,7 @@ func (a *Address) decodeAddress(addr interface{}) error {
return nil
}
-func (a *Address) Equals(other interface{}) bool {
+func (a *Address) Equals(other any) bool {
if a == nil && other == nil {
return true
} else if a == nil && other != nil {
@@ -375,7 +375,7 @@ func uint32ToIpv4(number uint32) net.IP {
return ipv4
}
-func NewLocalStation(addr interface{}, route *Address) (*Address, error) {
+func NewLocalStation(addr any, route *Address) (*Address, error) {
l := &Address{}
l.AddrType = LOCAL_STATION_ADDRESS
l.AddrRoute = route
@@ -399,7 +399,7 @@ func NewLocalStation(addr interface{}, route *Address) (*Address, error) {
return l, nil
}
-func NewRemoteStation(net *uint16, addr interface{}, route *Address) (*Address, error) {
+func NewRemoteStation(net *uint16, addr any, route *Address) (*Address, error) {
l := &Address{}
l.AddrType = REMOTE_STATION_ADDRESS
l.AddrNet = net
diff --git a/plc4go/internal/cbus/Discoverer_test.go b/plc4go/internal/cbus/Discoverer_test.go
index 6d738ec803..2e6ecffac5 100644
--- a/plc4go/internal/cbus/Discoverer_test.go
+++ b/plc4go/internal/cbus/Discoverer_test.go
@@ -68,8 +68,8 @@ func TestDiscoverer_Discover(t *testing.T) {
fields fields
args args
wantErr assert.ErrorAssertionFunc
- setup func() (params []interface{})
- teardown func(params []interface{})
+ setup func() (params []any)
+ teardown func(params []any)
}{
{
name: "discover unknown device",
@@ -102,7 +102,7 @@ func TestDiscoverer_Discover(t *testing.T) {
},
},
wantErr: assert.NoError,
- setup: func() (params []interface{}) {
+ setup: func() (params []any) {
oldaddressProviderRetriever := addressProviderRetriever
addressProviderRetriever = func(_ []string) ([]addressProvider, error) {
loopbackInterface, err := nettest.LoopbackInterface()
@@ -111,9 +111,9 @@ func TestDiscoverer_Discover(t *testing.T) {
}
return []addressProvider{&wrappedInterface{loopbackInterface}}, nil
}
- return []interface{}{oldaddressProviderRetriever}
+ return []any{oldaddressProviderRetriever}
},
- teardown: func(params []interface{}) {
+ teardown: func(params []any) {
addressProviderRetriever = params[0].(func(deviceNames []string) ([]addressProvider, error))
},
},
@@ -124,7 +124,7 @@ func TestDiscoverer_Discover(t *testing.T) {
transportInstanceCreationQueue: tt.fields.transportInstanceCreationQueue,
deviceScanningQueue: tt.fields.deviceScanningQueue,
}
- var params []interface{}
+ var params []any
if tt.setup != nil {
params = tt.setup()
}
diff --git a/plc4go/internal/cbus/ValueHandler_test.go b/plc4go/internal/cbus/ValueHandler_test.go
index 8cea5e1c39..efd3b367f9 100644
--- a/plc4go/internal/cbus/ValueHandler_test.go
+++ b/plc4go/internal/cbus/ValueHandler_test.go
@@ -52,7 +52,7 @@ func TestValueHandler_NewPlcValue(t *testing.T) {
}
type args struct {
tag apiModel.PlcTag
- value interface{}
+ value any
}
tests := []struct {
name string
diff --git a/plc4go/internal/knxnetip/ValueHandler.go b/plc4go/internal/knxnetip/ValueHandler.go
index 5a4c0615be..402b916203 100644
--- a/plc4go/internal/knxnetip/ValueHandler.go
+++ b/plc4go/internal/knxnetip/ValueHandler.go
@@ -31,6 +31,6 @@ func NewValueHandler() ValueHandler {
return ValueHandler{}
}
-func (m ValueHandler) NewPlcValue(tag model.PlcTag, value interface{}) (values.PlcValue, error) {
+func (m ValueHandler) NewPlcValue(tag model.PlcTag, value any) (values.PlcValue, error) {
return nil, nil
}
diff --git a/plc4go/internal/modbus/ModbusAsciiDriver.go b/plc4go/internal/modbus/ModbusAsciiDriver.go
index f7c8a697fa..53ffec994c 100644
--- a/plc4go/internal/modbus/ModbusAsciiDriver.go
+++ b/plc4go/internal/modbus/ModbusAsciiDriver.go
@@ -69,7 +69,7 @@ func (m ModbusAsciiDriver) GetConnectionWithContext(ctx context.Context, transpo
// Create a new codec for taking care of encoding/decoding of messages
// TODO: the code below looks strange: where is defaultChanel being used?
- defaultChanel := make(chan interface{})
+ defaultChanel := make(chan any)
go func() {
for {
msg := <-defaultChanel
diff --git a/plc4go/internal/modbus/ModbusRtuDriver.go b/plc4go/internal/modbus/ModbusRtuDriver.go
index 6e306c4239..61dc1bced4 100644
--- a/plc4go/internal/modbus/ModbusRtuDriver.go
+++ b/plc4go/internal/modbus/ModbusRtuDriver.go
@@ -69,7 +69,7 @@ func (m ModbusRtuDriver) GetConnectionWithContext(ctx context.Context, transport
// Create a new codec for taking care of encoding/decoding of messages
// TODO: the code below looks strange: where is defaultChanel being used?
- defaultChanel := make(chan interface{})
+ defaultChanel := make(chan any)
go func() {
for {
msg := <-defaultChanel
diff --git a/plc4go/internal/modbus/ModbusTcpDriver.go b/plc4go/internal/modbus/ModbusTcpDriver.go
index d2f7e58a35..9043afadd8 100644
--- a/plc4go/internal/modbus/ModbusTcpDriver.go
+++ b/plc4go/internal/modbus/ModbusTcpDriver.go
@@ -69,7 +69,7 @@ func (m ModbusTcpDriver) GetConnectionWithContext(ctx context.Context, transport
// Create a new codec for taking care of encoding/decoding of messages
// TODO: the code below looks strange: where is defaultChanel being used?
- defaultChanel := make(chan interface{})
+ defaultChanel := make(chan any)
go func() {
for {
msg := <-defaultChanel
diff --git a/plc4go/internal/simulated/ValueHandler.go b/plc4go/internal/simulated/ValueHandler.go
index f06755f5e7..ae4e87f9b5 100644
--- a/plc4go/internal/simulated/ValueHandler.go
+++ b/plc4go/internal/simulated/ValueHandler.go
@@ -31,7 +31,7 @@ func NewValueHandler() ValueHandler {
return ValueHandler{}
}
-func (v ValueHandler) NewPlcValue(tag model.PlcTag, value interface{}) (values.PlcValue, error) {
+func (v ValueHandler) NewPlcValue(tag model.PlcTag, value any) (values.PlcValue, error) {
//TODO implement me
panic("implement me")
}
diff --git a/plc4go/pkg/api/driverManager.go b/plc4go/pkg/api/driverManager.go
index 964518cb0a..2e182dda8d 100644
--- a/plc4go/pkg/api/driverManager.go
+++ b/plc4go/pkg/api/driverManager.go
@@ -80,7 +80,7 @@ func WithDiscoveryOptionRemoteAddress(remoteAddress string) WithDiscoveryOption
return withDiscoveryOption{options.WithDiscoveryOptionRemoteAddress(remoteAddress)}
}
-func WithDiscoveryOptionProtocolSpecific(key string, value interface{}) WithDiscoveryOption {
+func WithDiscoveryOptionProtocolSpecific(key string, value any) WithDiscoveryOption {
return withDiscoveryOption{options.WithDiscoveryOptionProtocolSpecific(key, value)}
}
diff --git a/plc4go/pkg/api/model/plc_write.go b/plc4go/pkg/api/model/plc_write.go
index 31cca1ab36..fe3f849e07 100644
--- a/plc4go/pkg/api/model/plc_write.go
+++ b/plc4go/pkg/api/model/plc_write.go
@@ -26,8 +26,8 @@ import (
)
type PlcWriteRequestBuilder interface {
- AddTagAddress(tagName string, tagAddress string, value interface{}) PlcWriteRequestBuilder
- AddTag(tagName string, tag PlcTag, value interface{}) PlcWriteRequestBuilder
+ AddTagAddress(tagName string, tagAddress string, value any) PlcWriteRequestBuilder
+ AddTag(tagName string, tag PlcTag, value any) PlcWriteRequestBuilder
Build() (PlcWriteRequest, error)
}
diff --git a/plc4go/protocols/abeth/readwrite/ParserHelper.go b/plc4go/protocols/abeth/readwrite/ParserHelper.go
index 0d7dbb0ad7..e67beccd51 100644
--- a/plc4go/protocols/abeth/readwrite/ParserHelper.go
+++ b/plc4go/protocols/abeth/readwrite/ParserHelper.go
@@ -32,7 +32,7 @@ import (
type AbethParserHelper struct {
}
-func (m AbethParserHelper) Parse(typeName string, arguments []string, io utils.ReadBuffer) (interface{}, error) {
+func (m AbethParserHelper) Parse(typeName string, arguments []string, io utils.ReadBuffer) (any, error) {
switch typeName {
case "DF1RequestCommand":
return model.DF1RequestCommandParseWithBuffer(context.Background(), io)
diff --git a/plc4go/protocols/abeth/readwrite/XmlParserHelper.go b/plc4go/protocols/abeth/readwrite/XmlParserHelper.go
index 1d32498b05..0e42099c58 100644
--- a/plc4go/protocols/abeth/readwrite/XmlParserHelper.go
+++ b/plc4go/protocols/abeth/readwrite/XmlParserHelper.go
@@ -42,7 +42,7 @@ func init() {
_ = utils.Dump
}
-func (m AbethXmlParserHelper) Parse(typeName string, xmlString string, parserArguments ...string) (interface{}, error) {
+func (m AbethXmlParserHelper) Parse(typeName string, xmlString string, parserArguments ...string) (any, error) {
switch typeName {
case "DF1RequestCommand":
return model.DF1RequestCommandParseWithBuffer(context.Background(), utils.NewXmlReadBuffer(strings.NewReader(xmlString)))
diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go
index 5fc5c602c5..86c678f902 100644
--- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go
+++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go
@@ -84,7 +84,7 @@ func NewCIPEncapsulationConnectionRequest(sessionHandle uint32, status uint32, s
}
// Deprecated: use the interface for direct cast
-func CastCIPEncapsulationConnectionRequest(structType interface{}) CIPEncapsulationConnectionRequest {
+func CastCIPEncapsulationConnectionRequest(structType any) CIPEncapsulationConnectionRequest {
if casted, ok := structType.(CIPEncapsulationConnectionRequest); ok {
return casted
}
diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go
index 14c2496a1f..2aa0803389 100644
--- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go
+++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go
@@ -84,7 +84,7 @@ func NewCIPEncapsulationConnectionResponse(sessionHandle uint32, status uint32,
}
// Deprecated: use the interface for direct cast
-func CastCIPEncapsulationConnectionResponse(structType interface{}) CIPEncapsulationConnectionResponse {
+func CastCIPEncapsulationConnectionResponse(structType any) CIPEncapsulationConnectionResponse {
if casted, ok := structType.(CIPEncapsulationConnectionResponse); ok {
return casted
}
diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go
index 65c8d89b99..240914d717 100644
--- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go
+++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go
@@ -116,7 +116,7 @@ func NewCIPEncapsulationPacket(sessionHandle uint32, status uint32, senderContex
}
// Deprecated: use the interface for direct cast
-func CastCIPEncapsulationPacket(structType interface{}) CIPEncapsulationPacket {
+func CastCIPEncapsulationPacket(structType any) CIPEncapsulationPacket {
if casted, ok := structType.(CIPEncapsulationPacket); ok {
return casted
}
@@ -244,7 +244,7 @@ func CIPEncapsulationPacketParseWithBuffer(ctx context.Context, readBuffer utils
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of CIPEncapsulationPacket")
}
if reserved != uint32(0x00000000) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint32(0x00000000),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -259,7 +259,7 @@ func CIPEncapsulationPacketParseWithBuffer(ctx context.Context, readBuffer utils
InitializeParent(CIPEncapsulationPacket, uint32, uint32, []uint8, uint32)
GetParent() CIPEncapsulationPacket
}
- var _childTemp interface{}
+ var _childTemp any
var _child CIPEncapsulationPacketChildSerializeRequirement
var typeSwitchError error
switch {
@@ -354,7 +354,7 @@ func (pm *_CIPEncapsulationPacket) SerializeParent(ctx context.Context, writeBuf
{
var reserved uint32 = uint32(0x00000000)
if pm.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint32(0x00000000),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go
index b1fc397baa..bc70facb72 100644
--- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go
+++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go
@@ -102,7 +102,7 @@ func NewCIPEncapsulationReadRequest(request DF1RequestMessage, sessionHandle uin
}
// Deprecated: use the interface for direct cast
-func CastCIPEncapsulationReadRequest(structType interface{}) CIPEncapsulationReadRequest {
+func CastCIPEncapsulationReadRequest(structType any) CIPEncapsulationReadRequest {
if casted, ok := structType.(CIPEncapsulationReadRequest); ok {
return casted
}
diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go
index f75dd45cb5..d5b065a1c2 100644
--- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go
+++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go
@@ -105,7 +105,7 @@ func NewCIPEncapsulationReadResponse(response DF1ResponseMessage, sessionHandle
}
// Deprecated: use the interface for direct cast
-func CastCIPEncapsulationReadResponse(structType interface{}) CIPEncapsulationReadResponse {
+func CastCIPEncapsulationReadResponse(structType any) CIPEncapsulationReadResponse {
if casted, ok := structType.(CIPEncapsulationReadResponse); ok {
return casted
}
diff --git a/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go b/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go
index f23c8266e8..88c18abd47 100644
--- a/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go
+++ b/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go
@@ -101,7 +101,7 @@ func NewDF1CommandRequestMessage(command DF1RequestCommand, destinationAddress u
}
// Deprecated: use the interface for direct cast
-func CastDF1CommandRequestMessage(structType interface{}) DF1CommandRequestMessage {
+func CastDF1CommandRequestMessage(structType any) DF1CommandRequestMessage {
if casted, ok := structType.(DF1CommandRequestMessage); ok {
return casted
}
diff --git a/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go b/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go
index ed324e6898..e1d4e3fa13 100644
--- a/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go
+++ b/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go
@@ -101,7 +101,7 @@ func NewDF1CommandResponseMessageProtectedTypedLogicalRead(data []uint8, destina
}
// Deprecated: use the interface for direct cast
-func CastDF1CommandResponseMessageProtectedTypedLogicalRead(structType interface{}) DF1CommandResponseMessageProtectedTypedLogicalRead {
+func CastDF1CommandResponseMessageProtectedTypedLogicalRead(structType any) DF1CommandResponseMessageProtectedTypedLogicalRead {
if casted, ok := structType.(DF1CommandResponseMessageProtectedTypedLogicalRead); ok {
return casted
}
diff --git a/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go b/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go
index 3ee914797a..5a7b6236e2 100644
--- a/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go
+++ b/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go
@@ -75,7 +75,7 @@ func NewDF1RequestCommand() *_DF1RequestCommand {
}
// Deprecated: use the interface for direct cast
-func CastDF1RequestCommand(structType interface{}) DF1RequestCommand {
+func CastDF1RequestCommand(structType any) DF1RequestCommand {
if casted, ok := structType.(DF1RequestCommand); ok {
return casted
}
@@ -126,7 +126,7 @@ func DF1RequestCommandParseWithBuffer(ctx context.Context, readBuffer utils.Read
InitializeParent(DF1RequestCommand)
GetParent() DF1RequestCommand
}
- var _childTemp interface{}
+ var _childTemp any
var _child DF1RequestCommandChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go b/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go
index 85d879e257..838c9b6b03 100644
--- a/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go
+++ b/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go
@@ -115,7 +115,7 @@ func NewDF1RequestMessage(destinationAddress uint8, sourceAddress uint8, status
}
// Deprecated: use the interface for direct cast
-func CastDF1RequestMessage(structType interface{}) DF1RequestMessage {
+func CastDF1RequestMessage(structType any) DF1RequestMessage {
if casted, ok := structType.(DF1RequestMessage); ok {
return casted
}
@@ -191,7 +191,7 @@ func DF1RequestMessageParseWithBuffer(ctx context.Context, readBuffer utils.Read
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of DF1RequestMessage")
}
if reserved != uint16(0x0000) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint16(0x0000),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -226,7 +226,7 @@ func DF1RequestMessageParseWithBuffer(ctx context.Context, readBuffer utils.Read
InitializeParent(DF1RequestMessage, uint8, uint8, uint8, uint16)
GetParent() DF1RequestMessage
}
- var _childTemp interface{}
+ var _childTemp any
var _child DF1RequestMessageChildSerializeRequirement
var typeSwitchError error
switch {
@@ -278,7 +278,7 @@ func (pm *_DF1RequestMessage) SerializeParent(ctx context.Context, writeBuffer u
{
var reserved uint16 = uint16(0x0000)
if pm.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint16(0x0000),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go b/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go
index 270231cd47..7c93bdbe1b 100644
--- a/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go
+++ b/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go
@@ -128,7 +128,7 @@ func NewDF1RequestProtectedTypedLogicalRead(byteSize uint8, fileNumber uint8, fi
}
// Deprecated: use the interface for direct cast
-func CastDF1RequestProtectedTypedLogicalRead(structType interface{}) DF1RequestProtectedTypedLogicalRead {
+func CastDF1RequestProtectedTypedLogicalRead(structType any) DF1RequestProtectedTypedLogicalRead {
if casted, ok := structType.(DF1RequestProtectedTypedLogicalRead); ok {
return casted
}
diff --git a/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go b/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go
index 02d4d756b5..b86930ddf4 100644
--- a/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go
+++ b/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go
@@ -119,7 +119,7 @@ func NewDF1ResponseMessage(destinationAddress uint8, sourceAddress uint8, status
}
// Deprecated: use the interface for direct cast
-func CastDF1ResponseMessage(structType interface{}) DF1ResponseMessage {
+func CastDF1ResponseMessage(structType any) DF1ResponseMessage {
if casted, ok := structType.(DF1ResponseMessage); ok {
return casted
}
@@ -184,7 +184,7 @@ func DF1ResponseMessageParseWithBuffer(ctx context.Context, readBuffer utils.Rea
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of DF1ResponseMessage")
}
if reserved != uint8(0x00) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -215,7 +215,7 @@ func DF1ResponseMessageParseWithBuffer(ctx context.Context, readBuffer utils.Rea
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of DF1ResponseMessage")
}
if reserved != uint8(0x00) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -250,7 +250,7 @@ func DF1ResponseMessageParseWithBuffer(ctx context.Context, readBuffer utils.Rea
InitializeParent(DF1ResponseMessage, uint8, uint8, uint8, uint16)
GetParent() DF1ResponseMessage
}
- var _childTemp interface{}
+ var _childTemp any
var _child DF1ResponseMessageChildSerializeRequirement
var typeSwitchError error
switch {
@@ -289,7 +289,7 @@ func (pm *_DF1ResponseMessage) SerializeParent(ctx context.Context, writeBuffer
{
var reserved uint8 = uint8(0x00)
if pm.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
@@ -319,7 +319,7 @@ func (pm *_DF1ResponseMessage) SerializeParent(ctx context.Context, writeBuffer
{
var reserved uint8 = uint8(0x00)
if pm.reservedField1 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/ads/discovery/readwrite/ParserHelper.go b/plc4go/protocols/ads/discovery/readwrite/ParserHelper.go
index 4069686ffd..484ab6959f 100644
--- a/plc4go/protocols/ads/discovery/readwrite/ParserHelper.go
+++ b/plc4go/protocols/ads/discovery/readwrite/ParserHelper.go
@@ -32,7 +32,7 @@ import (
type AdsDiscoveryParserHelper struct {
}
-func (m AdsDiscoveryParserHelper) Parse(typeName string, arguments []string, io utils.ReadBuffer) (interface{}, error) {
+func (m AdsDiscoveryParserHelper) Parse(typeName string, arguments []string, io utils.ReadBuffer) (any, error) {
switch typeName {
case "AdsDiscovery":
return model.AdsDiscoveryParseWithBuffer(context.Background(), io)
diff --git a/plc4go/protocols/ads/discovery/readwrite/XmlParserHelper.go b/plc4go/protocols/ads/discovery/readwrite/XmlParserHelper.go
index dbc2cbb1c1..ac35f5d376 100644
--- a/plc4go/protocols/ads/discovery/readwrite/XmlParserHelper.go
+++ b/plc4go/protocols/ads/discovery/readwrite/XmlParserHelper.go
@@ -42,7 +42,7 @@ func init() {
_ = utils.Dump
}
-func (m AdsDiscoveryXmlParserHelper) Parse(typeName string, xmlString string, parserArguments ...string) (interface{}, error) {
+func (m AdsDiscoveryXmlParserHelper) Parse(typeName string, xmlString string, parserArguments ...string) (any, error) {
switch typeName {
case "AdsDiscovery":
return model.AdsDiscoveryParseWithBuffer(context.Background(), utils.NewXmlReadBuffer(strings.NewReader(xmlString)))
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscovery.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscovery.go
index e5d3a4c051..88e0e53c5d 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscovery.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscovery.go
@@ -114,7 +114,7 @@ func NewAdsDiscovery(requestId uint32, operation Operation, amsNetId AmsNetId, p
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscovery(structType interface{}) AdsDiscovery {
+func CastAdsDiscovery(structType any) AdsDiscovery {
if casted, ok := structType.(AdsDiscovery); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go
index c7d32ab94a..031ea52308 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go
@@ -75,7 +75,7 @@ func NewAdsDiscoveryBlock() *_AdsDiscoveryBlock {
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryBlock(structType interface{}) AdsDiscoveryBlock {
+func CastAdsDiscoveryBlock(structType any) AdsDiscoveryBlock {
if casted, ok := structType.(AdsDiscoveryBlock); ok {
return casted
}
@@ -133,7 +133,7 @@ func AdsDiscoveryBlockParseWithBuffer(ctx context.Context, readBuffer utils.Read
InitializeParent(AdsDiscoveryBlock)
GetParent() AdsDiscoveryBlock
}
- var _childTemp interface{}
+ var _childTemp any
var _child AdsDiscoveryBlockChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go
index 21de33d079..a30bbe92c1 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go
@@ -112,7 +112,7 @@ func NewAdsDiscoveryBlockAmsNetId(amsNetId AmsNetId) *_AdsDiscoveryBlockAmsNetId
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryBlockAmsNetId(structType interface{}) AdsDiscoveryBlockAmsNetId {
+func CastAdsDiscoveryBlockAmsNetId(structType any) AdsDiscoveryBlockAmsNetId {
if casted, ok := structType.(AdsDiscoveryBlockAmsNetId); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go
index b1bf889f82..c70bbbd7cb 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go
@@ -96,7 +96,7 @@ func NewAdsDiscoveryBlockFingerprint(data []byte) *_AdsDiscoveryBlockFingerprint
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryBlockFingerprint(structType interface{}) AdsDiscoveryBlockFingerprint {
+func CastAdsDiscoveryBlockFingerprint(structType any) AdsDiscoveryBlockFingerprint {
if casted, ok := structType.(AdsDiscoveryBlockFingerprint); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go
index 0692fac9db..17a44a8dbe 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go
@@ -96,7 +96,7 @@ func NewAdsDiscoveryBlockHostName(hostName AmsString) *_AdsDiscoveryBlockHostNam
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryBlockHostName(structType interface{}) AdsDiscoveryBlockHostName {
+func CastAdsDiscoveryBlockHostName(structType any) AdsDiscoveryBlockHostName {
if casted, ok := structType.(AdsDiscoveryBlockHostName); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go
index 8e300f4b7b..372d811693 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go
@@ -96,7 +96,7 @@ func NewAdsDiscoveryBlockOsData(osData []byte) *_AdsDiscoveryBlockOsData {
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryBlockOsData(structType interface{}) AdsDiscoveryBlockOsData {
+func CastAdsDiscoveryBlockOsData(structType any) AdsDiscoveryBlockOsData {
if casted, ok := structType.(AdsDiscoveryBlockOsData); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go
index 577605da8b..ccc0b9d6fc 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go
@@ -96,7 +96,7 @@ func NewAdsDiscoveryBlockPassword(password AmsString) *_AdsDiscoveryBlockPasswor
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryBlockPassword(structType interface{}) AdsDiscoveryBlockPassword {
+func CastAdsDiscoveryBlockPassword(structType any) AdsDiscoveryBlockPassword {
if casted, ok := structType.(AdsDiscoveryBlockPassword); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go
index e62d30c0b5..f87d91b00b 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go
@@ -96,7 +96,7 @@ func NewAdsDiscoveryBlockRouteName(routeName AmsString) *_AdsDiscoveryBlockRoute
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryBlockRouteName(structType interface{}) AdsDiscoveryBlockRouteName {
+func CastAdsDiscoveryBlockRouteName(structType any) AdsDiscoveryBlockRouteName {
if casted, ok := structType.(AdsDiscoveryBlockRouteName); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go
index 727aada5cb..3f1c3658ad 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go
@@ -112,7 +112,7 @@ func NewAdsDiscoveryBlockStatus(status Status) *_AdsDiscoveryBlockStatus {
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryBlockStatus(structType interface{}) AdsDiscoveryBlockStatus {
+func CastAdsDiscoveryBlockStatus(structType any) AdsDiscoveryBlockStatus {
if casted, ok := structType.(AdsDiscoveryBlockStatus); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockType.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockType.go
index 73f6f743b9..41efc4e47d 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockType.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockType.go
@@ -123,8 +123,8 @@ func AdsDiscoveryBlockTypeKnows(value uint16) bool {
return false
}
-func CastAdsDiscoveryBlockType(structType interface{}) AdsDiscoveryBlockType {
- castFunc := func(typ interface{}) AdsDiscoveryBlockType {
+func CastAdsDiscoveryBlockType(structType any) AdsDiscoveryBlockType {
+ castFunc := func(typ any) AdsDiscoveryBlockType {
if sAdsDiscoveryBlockType, ok := typ.(AdsDiscoveryBlockType); ok {
return sAdsDiscoveryBlockType
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go
index c6c8b0504f..21c0123e7f 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go
@@ -96,7 +96,7 @@ func NewAdsDiscoveryBlockUserName(userName AmsString) *_AdsDiscoveryBlockUserNam
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryBlockUserName(structType interface{}) AdsDiscoveryBlockUserName {
+func CastAdsDiscoveryBlockUserName(structType any) AdsDiscoveryBlockUserName {
if casted, ok := structType.(AdsDiscoveryBlockUserName); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go
index dedcf8466e..cf2709700b 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go
@@ -96,7 +96,7 @@ func NewAdsDiscoveryBlockVersion(versionData []byte) *_AdsDiscoveryBlockVersion
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryBlockVersion(structType interface{}) AdsDiscoveryBlockVersion {
+func CastAdsDiscoveryBlockVersion(structType any) AdsDiscoveryBlockVersion {
if casted, ok := structType.(AdsDiscoveryBlockVersion); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryConstants.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryConstants.go
index 9192ac40b7..8b376a70c5 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryConstants.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryConstants.go
@@ -69,7 +69,7 @@ func NewAdsDiscoveryConstants() *_AdsDiscoveryConstants {
}
// Deprecated: use the interface for direct cast
-func CastAdsDiscoveryConstants(structType interface{}) AdsDiscoveryConstants {
+func CastAdsDiscoveryConstants(structType any) AdsDiscoveryConstants {
if casted, ok := structType.(AdsDiscoveryConstants); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsPortNumbers.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsPortNumbers.go
index fe02fe0329..fb5bc2cd47 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AdsPortNumbers.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsPortNumbers.go
@@ -147,8 +147,8 @@ func AdsPortNumbersKnows(value uint16) bool {
return false
}
-func CastAdsPortNumbers(structType interface{}) AdsPortNumbers {
- castFunc := func(typ interface{}) AdsPortNumbers {
+func CastAdsPortNumbers(structType any) AdsPortNumbers {
+ castFunc := func(typ any) AdsPortNumbers {
if sAdsPortNumbers, ok := typ.(AdsPortNumbers); ok {
return sAdsPortNumbers
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AmsNetId.go b/plc4go/protocols/ads/discovery/readwrite/model/AmsNetId.go
index 6b017831e4..83cd75c6e3 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AmsNetId.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AmsNetId.go
@@ -104,7 +104,7 @@ func NewAmsNetId(octet1 uint8, octet2 uint8, octet3 uint8, octet4 uint8, octet5
}
// Deprecated: use the interface for direct cast
-func CastAmsNetId(structType interface{}) AmsNetId {
+func CastAmsNetId(structType any) AmsNetId {
if casted, ok := structType.(AmsNetId); ok {
return casted
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AmsString.go b/plc4go/protocols/ads/discovery/readwrite/model/AmsString.go
index 260ce4485a..ca7f38dfaf 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/AmsString.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/AmsString.go
@@ -71,7 +71,7 @@ func NewAmsString(text string) *_AmsString {
}
// Deprecated: use the interface for direct cast
-func CastAmsString(structType interface{}) AmsString {
+func CastAmsString(structType any) AmsString {
if casted, ok := structType.(AmsString); ok {
return casted
}
@@ -139,7 +139,7 @@ func AmsStringParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffer)
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of AmsString")
}
if reserved != uint8(0x00) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -192,7 +192,7 @@ func (m *_AmsString) SerializeWithWriteBuffer(ctx context.Context, writeBuffer u
{
var reserved uint8 = uint8(0x00)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/Operation.go b/plc4go/protocols/ads/discovery/readwrite/model/Operation.go
index 4109ba8112..fa896802c0 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/Operation.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/Operation.go
@@ -117,8 +117,8 @@ func OperationKnows(value uint32) bool {
return false
}
-func CastOperation(structType interface{}) Operation {
- castFunc := func(typ interface{}) Operation {
+func CastOperation(structType any) Operation {
+ castFunc := func(typ any) Operation {
if sOperation, ok := typ.(Operation); ok {
return sOperation
}
diff --git a/plc4go/protocols/ads/discovery/readwrite/model/Status.go b/plc4go/protocols/ads/discovery/readwrite/model/Status.go
index 130be5880b..4860df5a57 100644
--- a/plc4go/protocols/ads/discovery/readwrite/model/Status.go
+++ b/plc4go/protocols/ads/discovery/readwrite/model/Status.go
@@ -87,8 +87,8 @@ func StatusKnows(value uint32) bool {
return false
}
-func CastStatus(structType interface{}) Status {
- castFunc := func(typ interface{}) Status {
+func CastStatus(structType any) Status {
+ castFunc := func(typ any) Status {
if sStatus, ok := typ.(Status); ok {
return sStatus
}
diff --git a/plc4go/protocols/ads/readwrite/ParserHelper.go b/plc4go/protocols/ads/readwrite/ParserHelper.go
index cec94298e3..2a357ed630 100644
--- a/plc4go/protocols/ads/readwrite/ParserHelper.go
+++ b/plc4go/protocols/ads/readwrite/ParserHelper.go
@@ -32,7 +32,7 @@ import (
type AdsParserHelper struct {
}
-func (m AdsParserHelper) Parse(typeName string, arguments []string, io utils.ReadBuffer) (interface{}, error) {
+func (m AdsParserHelper) Parse(typeName string, arguments []string, io utils.ReadBuffer) (any, error) {
switch typeName {
case "AmsSerialFrame":
return model.AmsSerialFrameParseWithBuffer(context.Background(), io)
diff --git a/plc4go/protocols/ads/readwrite/XmlParserHelper.go b/plc4go/protocols/ads/readwrite/XmlParserHelper.go
index 286ba1c17e..faeec33f21 100644
--- a/plc4go/protocols/ads/readwrite/XmlParserHelper.go
+++ b/plc4go/protocols/ads/readwrite/XmlParserHelper.go
@@ -42,7 +42,7 @@ func init() {
_ = utils.Dump
}
-func (m AdsXmlParserHelper) Parse(typeName string, xmlString string, parserArguments ...string) (interface{}, error) {
+func (m AdsXmlParserHelper) Parse(typeName string, xmlString string, parserArguments ...string) (any, error) {
switch typeName {
case "AmsSerialFrame":
return model.AmsSerialFrameParseWithBuffer(context.Background(), utils.NewXmlReadBuffer(strings.NewReader(xmlString)))
diff --git a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go
index 6456f57b21..ea4b1b2094 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go
@@ -150,7 +150,7 @@ func NewAdsAddDeviceNotificationRequest(indexGroup uint32, indexOffset uint32, l
}
// Deprecated: use the interface for direct cast
-func CastAdsAddDeviceNotificationRequest(structType interface{}) AdsAddDeviceNotificationRequest {
+func CastAdsAddDeviceNotificationRequest(structType any) AdsAddDeviceNotificationRequest {
if casted, ok := structType.(AdsAddDeviceNotificationRequest); ok {
return casted
}
@@ -267,7 +267,7 @@ func AdsAddDeviceNotificationRequestParseWithBuffer(ctx context.Context, readBuf
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of AdsAddDeviceNotificationRequest")
}
if reserved != uint64(0x0000) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint64(0x0000),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -284,7 +284,7 @@ func AdsAddDeviceNotificationRequestParseWithBuffer(ctx context.Context, readBuf
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of AdsAddDeviceNotificationRequest")
}
if reserved != uint64(0x0000) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint64(0x0000),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -380,7 +380,7 @@ func (m *_AdsAddDeviceNotificationRequest) SerializeWithWriteBuffer(ctx context.
{
var reserved uint64 = uint64(0x0000)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint64(0x0000),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
@@ -396,7 +396,7 @@ func (m *_AdsAddDeviceNotificationRequest) SerializeWithWriteBuffer(ctx context.
{
var reserved uint64 = uint64(0x0000)
if m.reservedField1 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint64(0x0000),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go
index ebd3a7f764..c7390e08f7 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go
@@ -115,7 +115,7 @@ func NewAdsAddDeviceNotificationResponse(result ReturnCode, notificationHandle u
}
// Deprecated: use the interface for direct cast
-func CastAdsAddDeviceNotificationResponse(structType interface{}) AdsAddDeviceNotificationResponse {
+func CastAdsAddDeviceNotificationResponse(structType any) AdsAddDeviceNotificationResponse {
if casted, ok := structType.(AdsAddDeviceNotificationResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsConstants.go b/plc4go/protocols/ads/readwrite/model/AdsConstants.go
index a56444f3b5..7212b9c86a 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsConstants.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsConstants.go
@@ -69,7 +69,7 @@ func NewAdsConstants() *_AdsConstants {
}
// Deprecated: use the interface for direct cast
-func CastAdsConstants(structType interface{}) AdsConstants {
+func CastAdsConstants(structType any) AdsConstants {
if casted, ok := structType.(AdsConstants); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsDataType.go b/plc4go/protocols/ads/readwrite/model/AdsDataType.go
index 00ae78e17b..fe7c60fa21 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsDataType.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsDataType.go
@@ -666,8 +666,8 @@ func AdsDataTypeKnows(value int8) bool {
return false
}
-func CastAdsDataType(structType interface{}) AdsDataType {
- castFunc := func(typ interface{}) AdsDataType {
+func CastAdsDataType(structType any) AdsDataType {
+ castFunc := func(typ any) AdsDataType {
if sAdsDataType, ok := typ.(AdsDataType); ok {
return sAdsDataType
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsDataTypeArrayInfo.go b/plc4go/protocols/ads/readwrite/model/AdsDataTypeArrayInfo.go
index 3d4e384fcb..42ec5024a4 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsDataTypeArrayInfo.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsDataTypeArrayInfo.go
@@ -94,7 +94,7 @@ func NewAdsDataTypeArrayInfo(lowerBound uint32, numElements uint32) *_AdsDataTyp
}
// Deprecated: use the interface for direct cast
-func CastAdsDataTypeArrayInfo(structType interface{}) AdsDataTypeArrayInfo {
+func CastAdsDataTypeArrayInfo(structType any) AdsDataTypeArrayInfo {
if casted, ok := structType.(AdsDataTypeArrayInfo); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableChildEntry.go b/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableChildEntry.go
index 193046c349..ee48685069 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableChildEntry.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableChildEntry.go
@@ -201,7 +201,7 @@ func NewAdsDataTypeTableChildEntry(entryLength uint32, version uint32, hashValue
}
// Deprecated: use the interface for direct cast
-func CastAdsDataTypeTableChildEntry(structType interface{}) AdsDataTypeTableChildEntry {
+func CastAdsDataTypeTableChildEntry(structType any) AdsDataTypeTableChildEntry {
if casted, ok := structType.(AdsDataTypeTableChildEntry); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableEntry.go b/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableEntry.go
index 07583b1aee..b9d33bdfed 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableEntry.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableEntry.go
@@ -201,7 +201,7 @@ func NewAdsDataTypeTableEntry(entryLength uint32, version uint32, hashValue uint
}
// Deprecated: use the interface for direct cast
-func CastAdsDataTypeTableEntry(structType interface{}) AdsDataTypeTableEntry {
+func CastAdsDataTypeTableEntry(structType any) AdsDataTypeTableEntry {
if casted, ok := structType.(AdsDataTypeTableEntry); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go
index 4dd3a04f5b..522eebfb51 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go
@@ -107,7 +107,7 @@ func NewAdsDeleteDeviceNotificationRequest(notificationHandle uint32, targetAmsN
}
// Deprecated: use the interface for direct cast
-func CastAdsDeleteDeviceNotificationRequest(structType interface{}) AdsDeleteDeviceNotificationRequest {
+func CastAdsDeleteDeviceNotificationRequest(structType any) AdsDeleteDeviceNotificationRequest {
if casted, ok := structType.(AdsDeleteDeviceNotificationRequest); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go
index 97762baab1..ad655d4e83 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go
@@ -107,7 +107,7 @@ func NewAdsDeleteDeviceNotificationResponse(result ReturnCode, targetAmsNetId Am
}
// Deprecated: use the interface for direct cast
-func CastAdsDeleteDeviceNotificationResponse(structType interface{}) AdsDeleteDeviceNotificationResponse {
+func CastAdsDeleteDeviceNotificationResponse(structType any) AdsDeleteDeviceNotificationResponse {
if casted, ok := structType.(AdsDeleteDeviceNotificationResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go
index 8dba4091b5..43d59507c6 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go
@@ -123,7 +123,7 @@ func NewAdsDeviceNotificationRequest(length uint32, stamps uint32, adsStampHeade
}
// Deprecated: use the interface for direct cast
-func CastAdsDeviceNotificationRequest(structType interface{}) AdsDeviceNotificationRequest {
+func CastAdsDeviceNotificationRequest(structType any) AdsDeviceNotificationRequest {
if casted, ok := structType.(AdsDeviceNotificationRequest); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go
index c5129dfc7a..525adf33aa 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go
@@ -89,7 +89,7 @@ func NewAdsDeviceNotificationResponse(targetAmsNetId AmsNetId, targetAmsPort uin
}
// Deprecated: use the interface for direct cast
-func CastAdsDeviceNotificationResponse(structType interface{}) AdsDeviceNotificationResponse {
+func CastAdsDeviceNotificationResponse(structType any) AdsDeviceNotificationResponse {
if casted, ok := structType.(AdsDeviceNotificationResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go b/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go
index 8e6745aa94..1cb66460ef 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go
@@ -89,7 +89,7 @@ func NewAdsInvalidRequest(targetAmsNetId AmsNetId, targetAmsPort uint16, sourceA
}
// Deprecated: use the interface for direct cast
-func CastAdsInvalidRequest(structType interface{}) AdsInvalidRequest {
+func CastAdsInvalidRequest(structType any) AdsInvalidRequest {
if casted, ok := structType.(AdsInvalidRequest); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go b/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go
index 37e64b0b46..b66695548a 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go
@@ -89,7 +89,7 @@ func NewAdsInvalidResponse(targetAmsNetId AmsNetId, targetAmsPort uint16, source
}
// Deprecated: use the interface for direct cast
-func CastAdsInvalidResponse(structType interface{}) AdsInvalidResponse {
+func CastAdsInvalidResponse(structType any) AdsInvalidResponse {
if casted, ok := structType.(AdsInvalidResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go
index 5fdc0e3513..35ac818ed1 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go
@@ -75,7 +75,7 @@ func NewAdsMultiRequestItem() *_AdsMultiRequestItem {
}
// Deprecated: use the interface for direct cast
-func CastAdsMultiRequestItem(structType interface{}) AdsMultiRequestItem {
+func CastAdsMultiRequestItem(structType any) AdsMultiRequestItem {
if casted, ok := structType.(AdsMultiRequestItem); ok {
return casted
}
@@ -118,7 +118,7 @@ func AdsMultiRequestItemParseWithBuffer(ctx context.Context, readBuffer utils.Re
InitializeParent(AdsMultiRequestItem)
GetParent() AdsMultiRequestItem
}
- var _childTemp interface{}
+ var _childTemp any
var _child AdsMultiRequestItemChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go
index 224b499053..d9c0bfd80a 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go
@@ -112,7 +112,7 @@ func NewAdsMultiRequestItemRead(itemIndexGroup uint32, itemIndexOffset uint32, i
}
// Deprecated: use the interface for direct cast
-func CastAdsMultiRequestItemRead(structType interface{}) AdsMultiRequestItemRead {
+func CastAdsMultiRequestItemRead(structType any) AdsMultiRequestItemRead {
if casted, ok := structType.(AdsMultiRequestItemRead); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go
index 9714f45420..e3e6a33254 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go
@@ -120,7 +120,7 @@ func NewAdsMultiRequestItemReadWrite(itemIndexGroup uint32, itemIndexOffset uint
}
// Deprecated: use the interface for direct cast
-func CastAdsMultiRequestItemReadWrite(structType interface{}) AdsMultiRequestItemReadWrite {
+func CastAdsMultiRequestItemReadWrite(structType any) AdsMultiRequestItemReadWrite {
if casted, ok := structType.(AdsMultiRequestItemReadWrite); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go
index bf2326af4d..cc6341cf6b 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go
@@ -112,7 +112,7 @@ func NewAdsMultiRequestItemWrite(itemIndexGroup uint32, itemIndexOffset uint32,
}
// Deprecated: use the interface for direct cast
-func CastAdsMultiRequestItemWrite(structType interface{}) AdsMultiRequestItemWrite {
+func CastAdsMultiRequestItemWrite(structType any) AdsMultiRequestItemWrite {
if casted, ok := structType.(AdsMultiRequestItemWrite); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsNotificationSample.go b/plc4go/protocols/ads/readwrite/model/AdsNotificationSample.go
index 19e895d79c..c81e71a8f2 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsNotificationSample.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsNotificationSample.go
@@ -83,7 +83,7 @@ func NewAdsNotificationSample(notificationHandle uint32, sampleSize uint32, data
}
// Deprecated: use the interface for direct cast
-func CastAdsNotificationSample(structType interface{}) AdsNotificationSample {
+func CastAdsNotificationSample(structType any) AdsNotificationSample {
if casted, ok := structType.(AdsNotificationSample); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go
index 46ae60db87..582e38a843 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go
@@ -89,7 +89,7 @@ func NewAdsReadDeviceInfoRequest(targetAmsNetId AmsNetId, targetAmsPort uint16,
}
// Deprecated: use the interface for direct cast
-func CastAdsReadDeviceInfoRequest(structType interface{}) AdsReadDeviceInfoRequest {
+func CastAdsReadDeviceInfoRequest(structType any) AdsReadDeviceInfoRequest {
if casted, ok := structType.(AdsReadDeviceInfoRequest); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go
index e18b08b536..f020a30bd4 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go
@@ -139,7 +139,7 @@ func NewAdsReadDeviceInfoResponse(result ReturnCode, majorVersion uint8, minorVe
}
// Deprecated: use the interface for direct cast
-func CastAdsReadDeviceInfoResponse(structType interface{}) AdsReadDeviceInfoResponse {
+func CastAdsReadDeviceInfoResponse(structType any) AdsReadDeviceInfoResponse {
if casted, ok := structType.(AdsReadDeviceInfoResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go
index ad84afd0b4..247dac8258 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go
@@ -123,7 +123,7 @@ func NewAdsReadRequest(indexGroup uint32, indexOffset uint32, length uint32, tar
}
// Deprecated: use the interface for direct cast
-func CastAdsReadRequest(structType interface{}) AdsReadRequest {
+func CastAdsReadRequest(structType any) AdsReadRequest {
if casted, ok := structType.(AdsReadRequest); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go
index 6ff4d415c0..d3c33a6430 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go
@@ -115,7 +115,7 @@ func NewAdsReadResponse(result ReturnCode, data []byte, targetAmsNetId AmsNetId,
}
// Deprecated: use the interface for direct cast
-func CastAdsReadResponse(structType interface{}) AdsReadResponse {
+func CastAdsReadResponse(structType any) AdsReadResponse {
if casted, ok := structType.(AdsReadResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go
index 2a9126a138..881ca9636e 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go
@@ -89,7 +89,7 @@ func NewAdsReadStateRequest(targetAmsNetId AmsNetId, targetAmsPort uint16, sourc
}
// Deprecated: use the interface for direct cast
-func CastAdsReadStateRequest(structType interface{}) AdsReadStateRequest {
+func CastAdsReadStateRequest(structType any) AdsReadStateRequest {
if casted, ok := structType.(AdsReadStateRequest); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go
index 67f0e305c4..62c028de22 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go
@@ -123,7 +123,7 @@ func NewAdsReadStateResponse(result ReturnCode, adsState uint16, deviceState uin
}
// Deprecated: use the interface for direct cast
-func CastAdsReadStateResponse(structType interface{}) AdsReadStateResponse {
+func CastAdsReadStateResponse(structType any) AdsReadStateResponse {
if casted, ok := structType.(AdsReadStateResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go
index 89da0c9af0..e809f9af7d 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go
@@ -139,7 +139,7 @@ func NewAdsReadWriteRequest(indexGroup uint32, indexOffset uint32, readLength ui
}
// Deprecated: use the interface for direct cast
-func CastAdsReadWriteRequest(structType interface{}) AdsReadWriteRequest {
+func CastAdsReadWriteRequest(structType any) AdsReadWriteRequest {
if casted, ok := structType.(AdsReadWriteRequest); ok {
return casted
}
@@ -236,13 +236,13 @@ func AdsReadWriteRequestParseWithBuffer(ctx context.Context, readBuffer utils.Re
return nil, errors.Wrap(pullErr, "Error pulling for items")
}
// Count array
- items := make([]AdsMultiRequestItem, utils.InlineIf((bool(bool((bool((indexGroup) == (61568)))) || bool((bool((indexGroup) == (61569))))) || bool((bool((indexGroup) == (61570))))), func() interface{} { return uint16(indexOffset) }, func() interface{} { return uint16(uint16(0)) }).(uint16))
+ items := make([]AdsMultiRequestItem, utils.InlineIf((bool(bool((bool((indexGroup) == (61568)))) || bool((bool((indexGroup) == (61569))))) || bool((bool((indexGroup) == (61570))))), func() any { return uint16(indexOffset) }, func() any { return uint16(uint16(0)) }).(uint16))
// This happens when the size is set conditional to 0
if len(items) == 0 {
items = nil
}
{
- _numItems := uint16(utils.InlineIf((bool(bool((bool((indexGroup) == (61568)))) || bool((bool((indexGroup) == (61569))))) || bool((bool((indexGroup) == (61570))))), func() interface{} { return uint16(indexOffset) }, func() interface{} { return uint16(uint16(0)) }).(uint16))
+ _numItems := uint16(utils.InlineIf((bool(bool((bool((indexGroup) == (61568)))) || bool((bool((indexGroup) == (61569))))) || bool((bool((indexGroup) == (61570))))), func() any { return uint16(indexOffset) }, func() any { return uint16(uint16(0)) }).(uint16))
for _curItem := uint16(0); _curItem < _numItems; _curItem++ {
arrayCtx := utils.CreateArrayContext(ctx, int(_numItems), int(_curItem))
_ = arrayCtx
@@ -319,7 +319,7 @@ func (m *_AdsReadWriteRequest) SerializeWithWriteBuffer(ctx context.Context, wri
}
// Implicit Field (writeLength) (Used for parsing, but it's value is not stored as it's implicitly given by the objects content)
- writeLength := uint32(uint32((uint32(uint32(len(m.GetItems()))) * uint32((utils.InlineIf((bool((m.GetIndexGroup()) == (61570))), func() interface{} { return uint32(uint32(16)) }, func() interface{} { return uint32(uint32(12)) }).(uint32))))) + uint32(uint32(len(m.GetData()))))
+ writeLength := uint32(uint32((uint32(uint32(len(m.GetItems()))) * uint32((utils.InlineIf((bool((m.GetIndexGroup()) == (61570))), func() any { return uint32(uint32(16)) }, func() any { return uint32(uint32(12)) }).(uint32))))) + uint32(uint32(len(m.GetData()))))
_writeLengthErr := writeBuffer.WriteUint32("writeLength", 32, (writeLength))
if _writeLengthErr != nil {
return errors.Wrap(_writeLengthErr, "Error serializing 'writeLength' field")
diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go
index a2772f30b1..5e2000af8f 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go
@@ -115,7 +115,7 @@ func NewAdsReadWriteResponse(result ReturnCode, data []byte, targetAmsNetId AmsN
}
// Deprecated: use the interface for direct cast
-func CastAdsReadWriteResponse(structType interface{}) AdsReadWriteResponse {
+func CastAdsReadWriteResponse(structType any) AdsReadWriteResponse {
if casted, ok := structType.(AdsReadWriteResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsStampHeader.go b/plc4go/protocols/ads/readwrite/model/AdsStampHeader.go
index 8c2715032c..613d01f562 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsStampHeader.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsStampHeader.go
@@ -83,7 +83,7 @@ func NewAdsStampHeader(timestamp uint64, samples uint32, adsNotificationSamples
}
// Deprecated: use the interface for direct cast
-func CastAdsStampHeader(structType interface{}) AdsStampHeader {
+func CastAdsStampHeader(structType any) AdsStampHeader {
if casted, ok := structType.(AdsStampHeader); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsSymbolTableEntry.go b/plc4go/protocols/ads/readwrite/model/AdsSymbolTableEntry.go
index dbb7cdd8bf..3052adac2f 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsSymbolTableEntry.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsSymbolTableEntry.go
@@ -246,7 +246,7 @@ func NewAdsSymbolTableEntry(entryLength uint32, group uint32, offset uint32, siz
}
// Deprecated: use the interface for direct cast
-func CastAdsSymbolTableEntry(structType interface{}) AdsSymbolTableEntry {
+func CastAdsSymbolTableEntry(structType any) AdsSymbolTableEntry {
if casted, ok := structType.(AdsSymbolTableEntry); ok {
return casted
}
@@ -476,7 +476,7 @@ func AdsSymbolTableEntryParseWithBuffer(ctx context.Context, readBuffer utils.Re
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of AdsSymbolTableEntry")
}
if reserved != uint8(0x00) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -528,7 +528,7 @@ func AdsSymbolTableEntryParseWithBuffer(ctx context.Context, readBuffer utils.Re
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of AdsSymbolTableEntry")
}
if reserved != uint16(0x0000) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint16(0x0000),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -755,7 +755,7 @@ func (m *_AdsSymbolTableEntry) SerializeWithWriteBuffer(ctx context.Context, wri
{
var reserved uint8 = uint8(0x00)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
@@ -806,7 +806,7 @@ func (m *_AdsSymbolTableEntry) SerializeWithWriteBuffer(ctx context.Context, wri
{
var reserved uint16 = uint16(0x0000)
if m.reservedField1 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint16(0x0000),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/ads/readwrite/model/AdsTableSizes.go b/plc4go/protocols/ads/readwrite/model/AdsTableSizes.go
index f9b946025a..4c49e120ad 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsTableSizes.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsTableSizes.go
@@ -105,7 +105,7 @@ func NewAdsTableSizes(symbolCount uint32, symbolLength uint32, dataTypeCount uin
}
// Deprecated: use the interface for direct cast
-func CastAdsTableSizes(structType interface{}) AdsTableSizes {
+func CastAdsTableSizes(structType any) AdsTableSizes {
if casted, ok := structType.(AdsTableSizes); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsTransMode.go b/plc4go/protocols/ads/readwrite/model/AdsTransMode.go
index b0103bcdc9..8b9412653e 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsTransMode.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsTransMode.go
@@ -111,8 +111,8 @@ func AdsTransModeKnows(value uint32) bool {
return false
}
-func CastAdsTransMode(structType interface{}) AdsTransMode {
- castFunc := func(typ interface{}) AdsTransMode {
+func CastAdsTransMode(structType any) AdsTransMode {
+ castFunc := func(typ any) AdsTransMode {
if sAdsTransMode, ok := typ.(AdsTransMode); ok {
return sAdsTransMode
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go b/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go
index 477d1dcc29..ca78521f8f 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go
@@ -123,7 +123,7 @@ func NewAdsWriteControlRequest(adsState uint16, deviceState uint16, data []byte,
}
// Deprecated: use the interface for direct cast
-func CastAdsWriteControlRequest(structType interface{}) AdsWriteControlRequest {
+func CastAdsWriteControlRequest(structType any) AdsWriteControlRequest {
if casted, ok := structType.(AdsWriteControlRequest); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go b/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go
index f8a7748fe6..30d18f1397 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go
@@ -107,7 +107,7 @@ func NewAdsWriteControlResponse(result ReturnCode, targetAmsNetId AmsNetId, targ
}
// Deprecated: use the interface for direct cast
-func CastAdsWriteControlResponse(structType interface{}) AdsWriteControlResponse {
+func CastAdsWriteControlResponse(structType any) AdsWriteControlResponse {
if casted, ok := structType.(AdsWriteControlResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go b/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go
index 4b430ae3a9..811c800b28 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go
@@ -123,7 +123,7 @@ func NewAdsWriteRequest(indexGroup uint32, indexOffset uint32, data []byte, targ
}
// Deprecated: use the interface for direct cast
-func CastAdsWriteRequest(structType interface{}) AdsWriteRequest {
+func CastAdsWriteRequest(structType any) AdsWriteRequest {
if casted, ok := structType.(AdsWriteRequest); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go b/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go
index 85233a34c6..c173bd12df 100644
--- a/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go
@@ -107,7 +107,7 @@ func NewAdsWriteResponse(result ReturnCode, targetAmsNetId AmsNetId, targetAmsPo
}
// Deprecated: use the interface for direct cast
-func CastAdsWriteResponse(structType interface{}) AdsWriteResponse {
+func CastAdsWriteResponse(structType any) AdsWriteResponse {
if casted, ok := structType.(AdsWriteResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AmsNetId.go b/plc4go/protocols/ads/readwrite/model/AmsNetId.go
index 6b017831e4..83cd75c6e3 100644
--- a/plc4go/protocols/ads/readwrite/model/AmsNetId.go
+++ b/plc4go/protocols/ads/readwrite/model/AmsNetId.go
@@ -104,7 +104,7 @@ func NewAmsNetId(octet1 uint8, octet2 uint8, octet3 uint8, octet4 uint8, octet5
}
// Deprecated: use the interface for direct cast
-func CastAmsNetId(structType interface{}) AmsNetId {
+func CastAmsNetId(structType any) AmsNetId {
if casted, ok := structType.(AmsNetId); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AmsPacket.go b/plc4go/protocols/ads/readwrite/model/AmsPacket.go
index 77b2ba69ea..3e445ada25 100644
--- a/plc4go/protocols/ads/readwrite/model/AmsPacket.go
+++ b/plc4go/protocols/ads/readwrite/model/AmsPacket.go
@@ -184,7 +184,7 @@ func NewAmsPacket(targetAmsNetId AmsNetId, targetAmsPort uint16, sourceAmsNetId
}
// Deprecated: use the interface for direct cast
-func CastAmsPacket(structType interface{}) AmsPacket {
+func CastAmsPacket(structType any) AmsPacket {
if casted, ok := structType.(AmsPacket); ok {
return casted
}
@@ -412,7 +412,7 @@ func AmsPacketParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffer)
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of AmsPacket")
}
if reserved != int8(0x0) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": int8(0x0),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -448,7 +448,7 @@ func AmsPacketParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffer)
InitializeParent(AmsPacket, AmsNetId, uint16, AmsNetId, uint16, uint32, uint32)
GetParent() AmsPacket
}
- var _childTemp interface{}
+ var _childTemp any
var _child AmsPacketChildSerializeRequirement
var typeSwitchError error
switch {
@@ -634,7 +634,7 @@ func (pm *_AmsPacket) SerializeParent(ctx context.Context, writeBuffer utils.Wri
{
var reserved int8 = int8(0x0)
if pm.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": int8(0x0),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/ads/readwrite/model/AmsSerialAcknowledgeFrame.go b/plc4go/protocols/ads/readwrite/model/AmsSerialAcknowledgeFrame.go
index 950c2ed08a..d4a4f3f44f 100644
--- a/plc4go/protocols/ads/readwrite/model/AmsSerialAcknowledgeFrame.go
+++ b/plc4go/protocols/ads/readwrite/model/AmsSerialAcknowledgeFrame.go
@@ -104,7 +104,7 @@ func NewAmsSerialAcknowledgeFrame(magicCookie uint16, transmitterAddress int8, r
}
// Deprecated: use the interface for direct cast
-func CastAmsSerialAcknowledgeFrame(structType interface{}) AmsSerialAcknowledgeFrame {
+func CastAmsSerialAcknowledgeFrame(structType any) AmsSerialAcknowledgeFrame {
if casted, ok := structType.(AmsSerialAcknowledgeFrame); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AmsSerialFrame.go b/plc4go/protocols/ads/readwrite/model/AmsSerialFrame.go
index 345e7fdb32..3fd9dd0f6c 100644
--- a/plc4go/protocols/ads/readwrite/model/AmsSerialFrame.go
+++ b/plc4go/protocols/ads/readwrite/model/AmsSerialFrame.go
@@ -111,7 +111,7 @@ func NewAmsSerialFrame(magicCookie uint16, transmitterAddress int8, receiverAddr
}
// Deprecated: use the interface for direct cast
-func CastAmsSerialFrame(structType interface{}) AmsSerialFrame {
+func CastAmsSerialFrame(structType any) AmsSerialFrame {
if casted, ok := structType.(AmsSerialFrame); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AmsSerialResetFrame.go b/plc4go/protocols/ads/readwrite/model/AmsSerialResetFrame.go
index 0449fab3fb..6492515699 100644
--- a/plc4go/protocols/ads/readwrite/model/AmsSerialResetFrame.go
+++ b/plc4go/protocols/ads/readwrite/model/AmsSerialResetFrame.go
@@ -104,7 +104,7 @@ func NewAmsSerialResetFrame(magicCookie uint16, transmitterAddress int8, receive
}
// Deprecated: use the interface for direct cast
-func CastAmsSerialResetFrame(structType interface{}) AmsSerialResetFrame {
+func CastAmsSerialResetFrame(structType any) AmsSerialResetFrame {
if casted, ok := structType.(AmsSerialResetFrame); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/AmsTCPPacket.go b/plc4go/protocols/ads/readwrite/model/AmsTCPPacket.go
index bb082a70e5..e900ef612e 100644
--- a/plc4go/protocols/ads/readwrite/model/AmsTCPPacket.go
+++ b/plc4go/protocols/ads/readwrite/model/AmsTCPPacket.go
@@ -72,7 +72,7 @@ func NewAmsTCPPacket(userdata AmsPacket) *_AmsTCPPacket {
}
// Deprecated: use the interface for direct cast
-func CastAmsTCPPacket(structType interface{}) AmsTCPPacket {
+func CastAmsTCPPacket(structType any) AmsTCPPacket {
if casted, ok := structType.(AmsTCPPacket); ok {
return casted
}
@@ -126,7 +126,7 @@ func AmsTCPPacketParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffe
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of AmsTCPPacket")
}
if reserved != uint16(0x0000) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint16(0x0000),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -185,7 +185,7 @@ func (m *_AmsTCPPacket) SerializeWithWriteBuffer(ctx context.Context, writeBuffe
{
var reserved uint16 = uint16(0x0000)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint16(0x0000),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/ads/readwrite/model/CommandId.go b/plc4go/protocols/ads/readwrite/model/CommandId.go
index f5a5421eeb..04377618a3 100644
--- a/plc4go/protocols/ads/readwrite/model/CommandId.go
+++ b/plc4go/protocols/ads/readwrite/model/CommandId.go
@@ -129,8 +129,8 @@ func CommandIdKnows(value uint16) bool {
return false
}
-func CastCommandId(structType interface{}) CommandId {
- castFunc := func(typ interface{}) CommandId {
+func CastCommandId(structType any) CommandId {
+ castFunc := func(typ any) CommandId {
if sCommandId, ok := typ.(CommandId); ok {
return sCommandId
}
diff --git a/plc4go/protocols/ads/readwrite/model/DefaultAmsPorts.go b/plc4go/protocols/ads/readwrite/model/DefaultAmsPorts.go
index bcb459098b..efee54f7b6 100644
--- a/plc4go/protocols/ads/readwrite/model/DefaultAmsPorts.go
+++ b/plc4go/protocols/ads/readwrite/model/DefaultAmsPorts.go
@@ -399,8 +399,8 @@ func DefaultAmsPortsKnows(value uint16) bool {
return false
}
-func CastDefaultAmsPorts(structType interface{}) DefaultAmsPorts {
- castFunc := func(typ interface{}) DefaultAmsPorts {
+func CastDefaultAmsPorts(structType any) DefaultAmsPorts {
+ castFunc := func(typ any) DefaultAmsPorts {
if sDefaultAmsPorts, ok := typ.(DefaultAmsPorts); ok {
return sDefaultAmsPorts
}
diff --git a/plc4go/protocols/ads/readwrite/model/ErrorResponse.go b/plc4go/protocols/ads/readwrite/model/ErrorResponse.go
index fab3486321..afd724e59a 100644
--- a/plc4go/protocols/ads/readwrite/model/ErrorResponse.go
+++ b/plc4go/protocols/ads/readwrite/model/ErrorResponse.go
@@ -89,7 +89,7 @@ func NewErrorResponse(targetAmsNetId AmsNetId, targetAmsPort uint16, sourceAmsNe
}
// Deprecated: use the interface for direct cast
-func CastErrorResponse(structType interface{}) ErrorResponse {
+func CastErrorResponse(structType any) ErrorResponse {
if casted, ok := structType.(ErrorResponse); ok {
return casted
}
diff --git a/plc4go/protocols/ads/readwrite/model/PlcValueType.go b/plc4go/protocols/ads/readwrite/model/PlcValueType.go
index d454c787b5..0dc6919778 100644
--- a/plc4go/protocols/ads/readwrite/model/PlcValueType.go
+++ b/plc4go/protocols/ads/readwrite/model/PlcValueType.go
@@ -255,8 +255,8 @@ func PlcValueTypeKnows(value uint8) bool {
return false
}
-func CastPlcValueType(structType interface{}) PlcValueType {
- castFunc := func(typ interface{}) PlcValueType {
+func CastPlcValueType(structType any) PlcValueType {
+ castFunc := func(typ any) PlcValueType {
if sPlcValueType, ok := typ.(PlcValueType); ok {
return sPlcValueType
}
diff --git a/plc4go/protocols/ads/readwrite/model/ReservedIndexGroups.go b/plc4go/protocols/ads/readwrite/model/ReservedIndexGroups.go
index d1fd8299bc..34a73d2319 100644
--- a/plc4go/protocols/ads/readwrite/model/ReservedIndexGroups.go
+++ b/plc4go/protocols/ads/readwrite/model/ReservedIndexGroups.go
@@ -291,8 +291,8 @@ func ReservedIndexGroupsKnows(value uint32) bool {
return false
}
-func CastReservedIndexGroups(structType interface{}) ReservedIndexGroups {
- castFunc := func(typ interface{}) ReservedIndexGroups {
+func CastReservedIndexGroups(structType any) ReservedIndexGroups {
+ castFunc := func(typ any) ReservedIndexGroups {
if sReservedIndexGroups, ok := typ.(ReservedIndexGroups); ok {
return sReservedIndexGroups
}
diff --git a/plc4go/protocols/ads/readwrite/model/ReturnCode.go b/plc4go/protocols/ads/readwrite/model/ReturnCode.go
index 14d77c23a8..6263f5188c 100644
--- a/plc4go/protocols/ads/readwrite/model/ReturnCode.go
+++ b/plc4go/protocols/ads/readwrite/model/ReturnCode.go
@@ -801,8 +801,8 @@ func ReturnCodeKnows(value uint32) bool {
return false
}
-func CastReturnCode(structType interface{}) ReturnCode {
- castFunc := func(typ interface{}) ReturnCode {
+func CastReturnCode(structType any) ReturnCode {
+ castFunc := func(typ any) ReturnCode {
if sReturnCode, ok := typ.(ReturnCode); ok {
return sReturnCode
}
diff --git a/plc4go/protocols/bacnetip/readwrite/ParserHelper.go b/plc4go/protocols/bacnetip/readwrite/ParserHelper.go
index 7cca3ef91b..bc89eb89b1 100644
--- a/plc4go/protocols/bacnetip/readwrite/ParserHelper.go
+++ b/plc4go/protocols/bacnetip/readwrite/ParserHelper.go
@@ -32,7 +32,7 @@ import (
type BacnetipParserHelper struct {
}
-func (m BacnetipParserHelper) Parse(typeName string, arguments []string, io utils.ReadBuffer) (interface{}, error) {
+func (m BacnetipParserHelper) Parse(typeName string, arguments []string, io utils.ReadBuffer) (any, error) {
switch typeName {
case "BACnetAuthenticationStatusTagged":
tagNumber, err := utils.StrToUint8(arguments[0])
diff --git a/plc4go/protocols/bacnetip/readwrite/XmlParserHelper.go b/plc4go/protocols/bacnetip/readwrite/XmlParserHelper.go
index 074930b5ff..9943d006aa 100644
--- a/plc4go/protocols/bacnetip/readwrite/XmlParserHelper.go
+++ b/plc4go/protocols/bacnetip/readwrite/XmlParserHelper.go
@@ -42,7 +42,7 @@ func init() {
_ = utils.Dump
}
-func (m BacnetipXmlParserHelper) Parse(typeName string, xmlString string, parserArguments ...string) (interface{}, error) {
+func (m BacnetipXmlParserHelper) Parse(typeName string, xmlString string, parserArguments ...string) (any, error) {
switch typeName {
case "BACnetAuthenticationStatusTagged":
parsedUint0, err := strconv.ParseUint(parserArguments[0], 10, 8)
diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDU.go b/plc4go/protocols/bacnetip/readwrite/model/APDU.go
index 64c01e884e..7bacedba26 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/APDU.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/APDU.go
@@ -78,7 +78,7 @@ func NewAPDU(apduLength uint16) *_APDU {
}
// Deprecated: use the interface for direct cast
-func CastAPDU(structType interface{}) APDU {
+func CastAPDU(structType any) APDU {
if casted, ok := structType.(APDU); ok {
return casted
}
@@ -136,7 +136,7 @@ func APDUParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffer, apduL
InitializeParent(APDU)
GetParent() APDU
}
- var _childTemp interface{}
+ var _childTemp any
var _child APDUChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go b/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go
index e064c46abd..e0fb73d52b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go
@@ -114,7 +114,7 @@ func NewAPDUAbort(server bool, originalInvokeId uint8, abortReason BACnetAbortRe
}
// Deprecated: use the interface for direct cast
-func CastAPDUAbort(structType interface{}) APDUAbort {
+func CastAPDUAbort(structType any) APDUAbort {
if casted, ok := structType.(APDUAbort); ok {
return casted
}
@@ -171,7 +171,7 @@ func APDUAbortParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffer,
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of APDUAbort")
}
if reserved != uint8(0x00) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -245,7 +245,7 @@ func (m *_APDUAbort) SerializeWithWriteBuffer(ctx context.Context, writeBuffer u
{
var reserved uint8 = uint8(0x00)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go b/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go
index c634aa0d3c..510247fc5e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go
@@ -156,7 +156,7 @@ func (m *_APDUComplexAck) GetApduHeaderReduction() uint16 {
_ = serviceAck
segmentServiceChoice := m.SegmentServiceChoice
_ = segmentServiceChoice
- return uint16(uint16(uint16(2)) + uint16((utils.InlineIf(m.GetSegmentedMessage(), func() interface{} { return uint16(uint16(2)) }, func() interface{} { return uint16(uint16(0)) }).(uint16))))
+ return uint16(uint16(uint16(2)) + uint16((utils.InlineIf(m.GetSegmentedMessage(), func() any { return uint16(uint16(2)) }, func() any { return uint16(uint16(0)) }).(uint16))))
}
func (m *_APDUComplexAck) GetSegmentReduction() uint16 {
@@ -170,7 +170,7 @@ func (m *_APDUComplexAck) GetSegmentReduction() uint16 {
_ = serviceAck
segmentServiceChoice := m.SegmentServiceChoice
_ = segmentServiceChoice
- return uint16(utils.InlineIf((bool((m.GetSegmentServiceChoice()) != (nil))), func() interface{} { return uint16((uint16(m.GetApduHeaderReduction()) + uint16(uint16(1)))) }, func() interface{} { return uint16(m.GetApduHeaderReduction()) }).(uint16))
+ return uint16(utils.InlineIf((bool((m.GetSegmentServiceChoice()) != (nil))), func() any { return uint16((uint16(m.GetApduHeaderReduction()) + uint16(uint16(1)))) }, func() any { return uint16(m.GetApduHeaderReduction()) }).(uint16))
}
///////////////////////
@@ -196,7 +196,7 @@ func NewAPDUComplexAck(segmentedMessage bool, moreFollows bool, originalInvokeId
}
// Deprecated: use the interface for direct cast
-func CastAPDUComplexAck(structType interface{}) APDUComplexAck {
+func CastAPDUComplexAck(structType any) APDUComplexAck {
if casted, ok := structType.(APDUComplexAck); ok {
return casted
}
@@ -296,7 +296,7 @@ func APDUComplexAckParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuf
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of APDUComplexAck")
}
if reserved != uint8(0) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -333,7 +333,7 @@ func APDUComplexAckParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuf
}
// Virtual field
- _apduHeaderReduction := uint16(uint16(2)) + uint16((utils.InlineIf(segmentedMessage, func() interface{} { return uint16(uint16(2)) }, func() interface{} { return uint16(uint16(0)) }).(uint16)))
+ _apduHeaderReduction := uint16(uint16(2)) + uint16((utils.InlineIf(segmentedMessage, func() any { return uint16(uint16(2)) }, func() any { return uint16(uint16(0)) }).(uint16)))
apduHeaderReduction := uint16(_apduHeaderReduction)
_ = apduHeaderReduction
@@ -381,13 +381,13 @@ func APDUComplexAckParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuf
}
// Virtual field
- _segmentReduction := utils.InlineIf((bool((segmentServiceChoice) != (nil))), func() interface{} { return uint16((uint16(apduHeaderReduction) + uint16(uint16(1)))) }, func() interface{} { return uint16(apduHeaderReduction) }).(uint16)
+ _segmentReduction := utils.InlineIf((bool((segmentServiceChoice) != (nil))), func() any { return uint16((uint16(apduHeaderReduction) + uint16(uint16(1)))) }, func() any { return uint16(apduHeaderReduction) }).(uint16)
segmentReduction := uint16(_segmentReduction)
_ = segmentReduction
// Byte Array field (segment)
- numberOfBytessegment := int(utils.InlineIf(segmentedMessage, func() interface{} {
- return uint16((utils.InlineIf((bool((apduLength) > (0))), func() interface{} { return uint16((uint16(apduLength) - uint16(segmentReduction))) }, func() interface{} { return uint16(uint16(0)) }).(uint16)))
- }, func() interface{} { return uint16(uint16(0)) }).(uint16))
+ numberOfBytessegment := int(utils.InlineIf(segmentedMessage, func() any {
+ return uint16((utils.InlineIf((bool((apduLength) > (0))), func() any { return uint16((uint16(apduLength) - uint16(segmentReduction))) }, func() any { return uint16(uint16(0)) }).(uint16)))
+ }, func() any { return uint16(uint16(0)) }).(uint16))
segment, _readArrayErr := readBuffer.ReadByteArray("segment", numberOfBytessegment)
if _readArrayErr != nil {
return nil, errors.Wrap(_readArrayErr, "Error parsing 'segment' field of APDUComplexAck")
@@ -450,7 +450,7 @@ func (m *_APDUComplexAck) SerializeWithWriteBuffer(ctx context.Context, writeBuf
{
var reserved uint8 = uint8(0)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go b/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go
index 5780d508cd..663d9f2931 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go
@@ -177,7 +177,7 @@ func (m *_APDUConfirmedRequest) GetApduHeaderReduction() uint16 {
_ = serviceRequest
segmentServiceChoice := m.SegmentServiceChoice
_ = segmentServiceChoice
- return uint16(uint16(uint16(3)) + uint16((utils.InlineIf(m.GetSegmentedMessage(), func() interface{} { return uint16(uint16(2)) }, func() interface{} { return uint16(uint16(0)) }).(uint16))))
+ return uint16(uint16(uint16(3)) + uint16((utils.InlineIf(m.GetSegmentedMessage(), func() any { return uint16(uint16(2)) }, func() any { return uint16(uint16(0)) }).(uint16))))
}
func (m *_APDUConfirmedRequest) GetSegmentReduction() uint16 {
@@ -191,7 +191,7 @@ func (m *_APDUConfirmedRequest) GetSegmentReduction() uint16 {
_ = serviceRequest
segmentServiceChoice := m.SegmentServiceChoice
_ = segmentServiceChoice
- return uint16(utils.InlineIf((bool((m.GetSegmentServiceChoice()) != (nil))), func() interface{} { return uint16((uint16(m.GetApduHeaderReduction()) + uint16(uint16(1)))) }, func() interface{} { return uint16(m.GetApduHeaderReduction()) }).(uint16))
+ return uint16(utils.InlineIf((bool((m.GetSegmentServiceChoice()) != (nil))), func() any { return uint16((uint16(m.GetApduHeaderReduction()) + uint16(uint16(1)))) }, func() any { return uint16(m.GetApduHeaderReduction()) }).(uint16))
}
///////////////////////
@@ -220,7 +220,7 @@ func NewAPDUConfirmedRequest(segmentedMessage bool, moreFollows bool, segmentedR
}
// Deprecated: use the interface for direct cast
-func CastAPDUConfirmedRequest(structType interface{}) APDUConfirmedRequest {
+func CastAPDUConfirmedRequest(structType any) APDUConfirmedRequest {
if casted, ok := structType.(APDUConfirmedRequest); ok {
return casted
}
@@ -336,7 +336,7 @@ func APDUConfirmedRequestParseWithBuffer(ctx context.Context, readBuffer utils.R
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of APDUConfirmedRequest")
}
if reserved != uint8(0) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -399,7 +399,7 @@ func APDUConfirmedRequestParseWithBuffer(ctx context.Context, readBuffer utils.R
}
// Virtual field
- _apduHeaderReduction := uint16(uint16(3)) + uint16((utils.InlineIf(segmentedMessage, func() interface{} { return uint16(uint16(2)) }, func() interface{} { return uint16(uint16(0)) }).(uint16)))
+ _apduHeaderReduction := uint16(uint16(3)) + uint16((utils.InlineIf(segmentedMessage, func() any { return uint16(uint16(2)) }, func() any { return uint16(uint16(0)) }).(uint16)))
apduHeaderReduction := uint16(_apduHeaderReduction)
_ = apduHeaderReduction
@@ -447,13 +447,13 @@ func APDUConfirmedRequestParseWithBuffer(ctx context.Context, readBuffer utils.R
}
// Virtual field
- _segmentReduction := utils.InlineIf((bool((segmentServiceChoice) != (nil))), func() interface{} { return uint16((uint16(apduHeaderReduction) + uint16(uint16(1)))) }, func() interface{} { return uint16(apduHeaderReduction) }).(uint16)
+ _segmentReduction := utils.InlineIf((bool((segmentServiceChoice) != (nil))), func() any { return uint16((uint16(apduHeaderReduction) + uint16(uint16(1)))) }, func() any { return uint16(apduHeaderReduction) }).(uint16)
segmentReduction := uint16(_segmentReduction)
_ = segmentReduction
// Byte Array field (segment)
- numberOfBytessegment := int(utils.InlineIf(segmentedMessage, func() interface{} {
- return uint16((utils.InlineIf((bool((apduLength) > (0))), func() interface{} { return uint16((uint16(apduLength) - uint16(segmentReduction))) }, func() interface{} { return uint16(uint16(0)) }).(uint16)))
- }, func() interface{} { return uint16(uint16(0)) }).(uint16))
+ numberOfBytessegment := int(utils.InlineIf(segmentedMessage, func() any {
+ return uint16((utils.InlineIf((bool((apduLength) > (0))), func() any { return uint16((uint16(apduLength) - uint16(segmentReduction))) }, func() any { return uint16(uint16(0)) }).(uint16)))
+ }, func() any { return uint16(uint16(0)) }).(uint16))
segment, _readArrayErr := readBuffer.ReadByteArray("segment", numberOfBytessegment)
if _readArrayErr != nil {
return nil, errors.Wrap(_readArrayErr, "Error parsing 'segment' field of APDUConfirmedRequest")
@@ -526,7 +526,7 @@ func (m *_APDUConfirmedRequest) SerializeWithWriteBuffer(ctx context.Context, wr
{
var reserved uint8 = uint8(0)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUError.go b/plc4go/protocols/bacnetip/readwrite/model/APDUError.go
index 9f42eca95d..7c802a8205 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/APDUError.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/APDUError.go
@@ -114,7 +114,7 @@ func NewAPDUError(originalInvokeId uint8, errorChoice BACnetConfirmedServiceChoi
}
// Deprecated: use the interface for direct cast
-func CastAPDUError(structType interface{}) APDUError {
+func CastAPDUError(structType any) APDUError {
if casted, ok := structType.(APDUError); ok {
return casted
}
@@ -171,7 +171,7 @@ func APDUErrorParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffer,
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of APDUError")
}
if reserved != uint8(0x00) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -251,7 +251,7 @@ func (m *_APDUError) SerializeWithWriteBuffer(ctx context.Context, writeBuffer u
{
var reserved uint8 = uint8(0x00)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go b/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go
index d4e38ff2bd..bd717d3e81 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go
@@ -106,7 +106,7 @@ func NewAPDUReject(originalInvokeId uint8, rejectReason BACnetRejectReasonTagged
}
// Deprecated: use the interface for direct cast
-func CastAPDUReject(structType interface{}) APDUReject {
+func CastAPDUReject(structType any) APDUReject {
if casted, ok := structType.(APDUReject); ok {
return casted
}
@@ -160,7 +160,7 @@ func APDURejectParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffer,
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of APDUReject")
}
if reserved != uint8(0x00) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -226,7 +226,7 @@ func (m *_APDUReject) SerializeWithWriteBuffer(ctx context.Context, writeBuffer
{
var reserved uint8 = uint8(0x00)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go b/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go
index d111ee2413..22b903e1e7 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go
@@ -130,7 +130,7 @@ func NewAPDUSegmentAck(negativeAck bool, server bool, originalInvokeId uint8, se
}
// Deprecated: use the interface for direct cast
-func CastAPDUSegmentAck(structType interface{}) APDUSegmentAck {
+func CastAPDUSegmentAck(structType any) APDUSegmentAck {
if casted, ok := structType.(APDUSegmentAck); ok {
return casted
}
@@ -193,7 +193,7 @@ func APDUSegmentAckParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuf
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of APDUSegmentAck")
}
if reserved != uint8(0x00) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -277,7 +277,7 @@ func (m *_APDUSegmentAck) SerializeWithWriteBuffer(ctx context.Context, writeBuf
{
var reserved uint8 = uint8(0x00)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0x00),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go b/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go
index 748f575085..2837186752 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go
@@ -106,7 +106,7 @@ func NewAPDUSimpleAck(originalInvokeId uint8, serviceChoice BACnetConfirmedServi
}
// Deprecated: use the interface for direct cast
-func CastAPDUSimpleAck(structType interface{}) APDUSimpleAck {
+func CastAPDUSimpleAck(structType any) APDUSimpleAck {
if casted, ok := structType.(APDUSimpleAck); ok {
return casted
}
@@ -160,7 +160,7 @@ func APDUSimpleAckParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuff
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of APDUSimpleAck")
}
if reserved != uint8(0) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -226,7 +226,7 @@ func (m *_APDUSimpleAck) SerializeWithWriteBuffer(ctx context.Context, writeBuff
{
var reserved uint8 = uint8(0)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go b/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go
index 07cbee571e..0ec56936f2 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go
@@ -98,7 +98,7 @@ func NewAPDUUnconfirmedRequest(serviceRequest BACnetUnconfirmedServiceRequest, a
}
// Deprecated: use the interface for direct cast
-func CastAPDUUnconfirmedRequest(structType interface{}) APDUUnconfirmedRequest {
+func CastAPDUUnconfirmedRequest(structType any) APDUUnconfirmedRequest {
if casted, ok := structType.(APDUUnconfirmedRequest); ok {
return casted
}
@@ -149,7 +149,7 @@ func APDUUnconfirmedRequestParseWithBuffer(ctx context.Context, readBuffer utils
return nil, errors.Wrap(_err, "Error parsing 'reserved' field of APDUUnconfirmedRequest")
}
if reserved != uint8(0) {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0),
"got value": reserved,
}).Msg("Got unexpected response for reserved field.")
@@ -207,7 +207,7 @@ func (m *_APDUUnconfirmedRequest) SerializeWithWriteBuffer(ctx context.Context,
{
var reserved uint8 = uint8(0)
if m.reservedField0 != nil {
- Plc4xModelLog.Info().Fields(map[string]interface{}{
+ Plc4xModelLog.Info().Fields(map[string]any{
"expected value": uint8(0),
"got value": reserved,
}).Msg("Overriding reserved field with unexpected value.")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go
index beb4e8f82a..44c8766147 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go
@@ -104,7 +104,7 @@ func NewAPDUUnknown(unknownTypeRest uint8, unknownBytes []byte, apduLength uint1
}
// Deprecated: use the interface for direct cast
-func CastAPDUUnknown(structType interface{}) APDUUnknown {
+func CastAPDUUnknown(structType any) APDUUnknown {
if casted, ok := structType.(APDUUnknown); ok {
return casted
}
@@ -156,7 +156,7 @@ func APDUUnknownParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffer
}
unknownTypeRest := _unknownTypeRest
// Byte Array field (unknownBytes)
- numberOfBytesunknownBytes := int(utils.InlineIf((bool((apduLength) > (0))), func() interface{} { return uint16(apduLength) }, func() interface{} { return uint16(uint16(0)) }).(uint16))
+ numberOfBytesunknownBytes := int(utils.InlineIf((bool((apduLength) > (0))), func() any { return uint16(apduLength) }, func() any { return uint16(uint16(0)) }).(uint16))
unknownBytes, _readArrayErr := readBuffer.ReadByteArray("unknownBytes", numberOfBytesunknownBytes)
if _readArrayErr != nil {
return nil, errors.Wrap(_readArrayErr, "Error parsing 'unknownBytes' field of APDUUnknown")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/ApduType.go b/plc4go/protocols/bacnetip/readwrite/model/ApduType.go
index 08f050d050..532e4c031a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/ApduType.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/ApduType.go
@@ -165,8 +165,8 @@ func ApduTypeKnows(value uint8) bool {
return false
}
-func CastApduType(structType interface{}) ApduType {
- castFunc := func(typ interface{}) ApduType {
+func CastApduType(structType any) ApduType {
+ castFunc := func(typ any) ApduType {
if sApduType, ok := typ.(ApduType); ok {
return sApduType
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReason.go
index 5057cd0d56..7be1962be0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReason.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReason.go
@@ -147,8 +147,8 @@ func BACnetAbortReasonKnows(value uint8) bool {
return false
}
-func CastBACnetAbortReason(structType interface{}) BACnetAbortReason {
- castFunc := func(typ interface{}) BACnetAbortReason {
+func CastBACnetAbortReason(structType any) BACnetAbortReason {
+ castFunc := func(typ any) BACnetAbortReason {
if sBACnetAbortReason, ok := typ.(BACnetAbortReason); ok {
return sBACnetAbortReason
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReasonTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReasonTagged.go
index c98cab2afa..97dbbd2651 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReasonTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReasonTagged.go
@@ -96,7 +96,7 @@ func NewBACnetAbortReasonTagged(value BACnetAbortReason, proprietaryValue uint32
}
// Deprecated: use the interface for direct cast
-func CastBACnetAbortReasonTagged(structType interface{}) BACnetAbortReasonTagged {
+func CastBACnetAbortReasonTagged(structType any) BACnetAbortReasonTagged {
if casted, ok := structType.(BACnetAbortReasonTagged); ok {
return casted
}
@@ -114,12 +114,12 @@ func (m *_BACnetAbortReasonTagged) GetLengthInBits(ctx context.Context) uint16 {
lengthInBits := uint16(0)
// Manual Field (value)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32(int32(0)) }, func() interface{} { return int32((int32(m.ActualLength) * int32(int32(8)))) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32(int32(0)) }, func() any { return int32((int32(m.ActualLength) * int32(int32(8)))) }).(int32))
// A virtual field doesn't have any in- or output.
// Manual Field (proprietaryValue)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32((int32(m.ActualLength) * int32(int32(8)))) }, func() interface{} { return int32(int32(0)) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32((int32(m.ActualLength) * int32(int32(8)))) }, func() any { return int32(int32(0)) }).(int32))
return lengthInBits
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisable.go
index 5069c9fcbf..5162a2e134 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisable.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisable.go
@@ -111,8 +111,8 @@ func BACnetAccessAuthenticationFactorDisableKnows(value uint16) bool {
return false
}
-func CastBACnetAccessAuthenticationFactorDisable(structType interface{}) BACnetAccessAuthenticationFactorDisable {
- castFunc := func(typ interface{}) BACnetAccessAuthenticationFactorDisable {
+func CastBACnetAccessAuthenticationFactorDisable(structType any) BACnetAccessAuthenticationFactorDisable {
+ castFunc := func(typ any) BACnetAccessAuthenticationFactorDisable {
if sBACnetAccessAuthenticationFactorDisable, ok := typ.(BACnetAccessAuthenticationFactorDisable); ok {
return sBACnetAccessAuthenticationFactorDisable
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisableTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisableTagged.go
index 55c8e52313..562044faff 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisableTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisableTagged.go
@@ -104,7 +104,7 @@ func NewBACnetAccessAuthenticationFactorDisableTagged(header BACnetTagHeader, va
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessAuthenticationFactorDisableTagged(structType interface{}) BACnetAccessAuthenticationFactorDisableTagged {
+func CastBACnetAccessAuthenticationFactorDisableTagged(structType any) BACnetAccessAuthenticationFactorDisableTagged {
if casted, ok := structType.(BACnetAccessAuthenticationFactorDisableTagged); ok {
return casted
}
@@ -125,12 +125,12 @@ func (m *_BACnetAccessAuthenticationFactorDisableTagged) GetLengthInBits(ctx con
lengthInBits += m.Header.GetLengthInBits(ctx)
// Manual Field (value)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32(int32(0)) }, func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32(int32(0)) }, func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
// A virtual field doesn't have any in- or output.
// Manual Field (proprietaryValue)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() interface{} { return int32(int32(0)) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() any { return int32(int32(0)) }).(int32))
return lengthInBits
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisable.go
index 07efe11de5..abb5a7019c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisable.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisable.go
@@ -99,8 +99,8 @@ func BACnetAccessCredentialDisableKnows(value uint16) bool {
return false
}
-func CastBACnetAccessCredentialDisable(structType interface{}) BACnetAccessCredentialDisable {
- castFunc := func(typ interface{}) BACnetAccessCredentialDisable {
+func CastBACnetAccessCredentialDisable(structType any) BACnetAccessCredentialDisable {
+ castFunc := func(typ any) BACnetAccessCredentialDisable {
if sBACnetAccessCredentialDisable, ok := typ.(BACnetAccessCredentialDisable); ok {
return sBACnetAccessCredentialDisable
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReason.go
index fc25825c03..8e6b8faebb 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReason.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReason.go
@@ -135,8 +135,8 @@ func BACnetAccessCredentialDisableReasonKnows(value uint16) bool {
return false
}
-func CastBACnetAccessCredentialDisableReason(structType interface{}) BACnetAccessCredentialDisableReason {
- castFunc := func(typ interface{}) BACnetAccessCredentialDisableReason {
+func CastBACnetAccessCredentialDisableReason(structType any) BACnetAccessCredentialDisableReason {
+ castFunc := func(typ any) BACnetAccessCredentialDisableReason {
if sBACnetAccessCredentialDisableReason, ok := typ.(BACnetAccessCredentialDisableReason); ok {
return sBACnetAccessCredentialDisableReason
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReasonTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReasonTagged.go
index ec985bc925..0f7f1beeae 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReasonTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReasonTagged.go
@@ -104,7 +104,7 @@ func NewBACnetAccessCredentialDisableReasonTagged(header BACnetTagHeader, value
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessCredentialDisableReasonTagged(structType interface{}) BACnetAccessCredentialDisableReasonTagged {
+func CastBACnetAccessCredentialDisableReasonTagged(structType any) BACnetAccessCredentialDisableReasonTagged {
if casted, ok := structType.(BACnetAccessCredentialDisableReasonTagged); ok {
return casted
}
@@ -125,12 +125,12 @@ func (m *_BACnetAccessCredentialDisableReasonTagged) GetLengthInBits(ctx context
lengthInBits += m.Header.GetLengthInBits(ctx)
// Manual Field (value)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32(int32(0)) }, func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32(int32(0)) }, func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
// A virtual field doesn't have any in- or output.
// Manual Field (proprietaryValue)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() interface{} { return int32(int32(0)) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() any { return int32(int32(0)) }).(int32))
return lengthInBits
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableTagged.go
index 9e39ebd185..eb9d3ef0a4 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableTagged.go
@@ -104,7 +104,7 @@ func NewBACnetAccessCredentialDisableTagged(header BACnetTagHeader, value BACnet
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessCredentialDisableTagged(structType interface{}) BACnetAccessCredentialDisableTagged {
+func CastBACnetAccessCredentialDisableTagged(structType any) BACnetAccessCredentialDisableTagged {
if casted, ok := structType.(BACnetAccessCredentialDisableTagged); ok {
return casted
}
@@ -125,12 +125,12 @@ func (m *_BACnetAccessCredentialDisableTagged) GetLengthInBits(ctx context.Conte
lengthInBits += m.Header.GetLengthInBits(ctx)
// Manual Field (value)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32(int32(0)) }, func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32(int32(0)) }, func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
// A virtual field doesn't have any in- or output.
// Manual Field (proprietaryValue)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() interface{} { return int32(int32(0)) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() any { return int32(int32(0)) }).(int32))
return lengthInBits
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEvent.go
index ae51613a2c..4dbc96f87b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEvent.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEvent.go
@@ -399,8 +399,8 @@ func BACnetAccessEventKnows(value uint16) bool {
return false
}
-func CastBACnetAccessEvent(structType interface{}) BACnetAccessEvent {
- castFunc := func(typ interface{}) BACnetAccessEvent {
+func CastBACnetAccessEvent(structType any) BACnetAccessEvent {
+ castFunc := func(typ any) BACnetAccessEvent {
if sBACnetAccessEvent, ok := typ.(BACnetAccessEvent); ok {
return sBACnetAccessEvent
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEventTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEventTagged.go
index 0c349e5889..6565bcce96 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEventTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEventTagged.go
@@ -104,7 +104,7 @@ func NewBACnetAccessEventTagged(header BACnetTagHeader, value BACnetAccessEvent,
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessEventTagged(structType interface{}) BACnetAccessEventTagged {
+func CastBACnetAccessEventTagged(structType any) BACnetAccessEventTagged {
if casted, ok := structType.(BACnetAccessEventTagged); ok {
return casted
}
@@ -125,12 +125,12 @@ func (m *_BACnetAccessEventTagged) GetLengthInBits(ctx context.Context) uint16 {
lengthInBits += m.Header.GetLengthInBits(ctx)
// Manual Field (value)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32(int32(0)) }, func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32(int32(0)) }, func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
// A virtual field doesn't have any in- or output.
// Manual Field (proprietaryValue)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() interface{} { return int32(int32(0)) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() any { return int32(int32(0)) }).(int32))
return lengthInBits
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackMode.go
index ee102aa4c6..663c256c98 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackMode.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackMode.go
@@ -87,8 +87,8 @@ func BACnetAccessPassbackModeKnows(value uint8) bool {
return false
}
-func CastBACnetAccessPassbackMode(structType interface{}) BACnetAccessPassbackMode {
- castFunc := func(typ interface{}) BACnetAccessPassbackMode {
+func CastBACnetAccessPassbackMode(structType any) BACnetAccessPassbackMode {
+ castFunc := func(typ any) BACnetAccessPassbackMode {
if sBACnetAccessPassbackMode, ok := typ.(BACnetAccessPassbackMode); ok {
return sBACnetAccessPassbackMode
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackModeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackModeTagged.go
index 60874c1fa7..dbfb2876aa 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackModeTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackModeTagged.go
@@ -80,7 +80,7 @@ func NewBACnetAccessPassbackModeTagged(header BACnetTagHeader, value BACnetAcces
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessPassbackModeTagged(structType interface{}) BACnetAccessPassbackModeTagged {
+func CastBACnetAccessPassbackModeTagged(structType any) BACnetAccessPassbackModeTagged {
if casted, ok := structType.(BACnetAccessPassbackModeTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRule.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRule.go
index 266f0798cd..fe533ed26b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRule.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRule.go
@@ -98,7 +98,7 @@ func NewBACnetAccessRule(timeRangeSpecifier BACnetAccessRuleTimeRangeSpecifierTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessRule(structType interface{}) BACnetAccessRule {
+func CastBACnetAccessRule(structType any) BACnetAccessRule {
if casted, ok := structType.(BACnetAccessRule); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifier.go
index 7267946c2d..ec0f84ed52 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifier.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifier.go
@@ -81,8 +81,8 @@ func BACnetAccessRuleLocationSpecifierKnows(value uint8) bool {
return false
}
-func CastBACnetAccessRuleLocationSpecifier(structType interface{}) BACnetAccessRuleLocationSpecifier {
- castFunc := func(typ interface{}) BACnetAccessRuleLocationSpecifier {
+func CastBACnetAccessRuleLocationSpecifier(structType any) BACnetAccessRuleLocationSpecifier {
+ castFunc := func(typ any) BACnetAccessRuleLocationSpecifier {
if sBACnetAccessRuleLocationSpecifier, ok := typ.(BACnetAccessRuleLocationSpecifier); ok {
return sBACnetAccessRuleLocationSpecifier
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifierTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifierTagged.go
index b9ec7c8eeb..7ca64530b6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifierTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifierTagged.go
@@ -80,7 +80,7 @@ func NewBACnetAccessRuleLocationSpecifierTagged(header BACnetTagHeader, value BA
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessRuleLocationSpecifierTagged(structType interface{}) BACnetAccessRuleLocationSpecifierTagged {
+func CastBACnetAccessRuleLocationSpecifierTagged(structType any) BACnetAccessRuleLocationSpecifierTagged {
if casted, ok := structType.(BACnetAccessRuleLocationSpecifierTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifier.go
index 869716d8c2..06eba90b54 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifier.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifier.go
@@ -81,8 +81,8 @@ func BACnetAccessRuleTimeRangeSpecifierKnows(value uint8) bool {
return false
}
-func CastBACnetAccessRuleTimeRangeSpecifier(structType interface{}) BACnetAccessRuleTimeRangeSpecifier {
- castFunc := func(typ interface{}) BACnetAccessRuleTimeRangeSpecifier {
+func CastBACnetAccessRuleTimeRangeSpecifier(structType any) BACnetAccessRuleTimeRangeSpecifier {
+ castFunc := func(typ any) BACnetAccessRuleTimeRangeSpecifier {
if sBACnetAccessRuleTimeRangeSpecifier, ok := typ.(BACnetAccessRuleTimeRangeSpecifier); ok {
return sBACnetAccessRuleTimeRangeSpecifier
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifierTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifierTagged.go
index d148244dea..f57fbdbb34 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifierTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifierTagged.go
@@ -80,7 +80,7 @@ func NewBACnetAccessRuleTimeRangeSpecifierTagged(header BACnetTagHeader, value B
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessRuleTimeRangeSpecifierTagged(structType interface{}) BACnetAccessRuleTimeRangeSpecifierTagged {
+func CastBACnetAccessRuleTimeRangeSpecifierTagged(structType any) BACnetAccessRuleTimeRangeSpecifierTagged {
if casted, ok := structType.(BACnetAccessRuleTimeRangeSpecifierTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessThreatLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessThreatLevel.go
index 4a67a6aa7c..2a960bcf1c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessThreatLevel.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessThreatLevel.go
@@ -69,7 +69,7 @@ func NewBACnetAccessThreatLevel(threatLevel BACnetApplicationTagUnsignedInteger)
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessThreatLevel(structType interface{}) BACnetAccessThreatLevel {
+func CastBACnetAccessThreatLevel(structType any) BACnetAccessThreatLevel {
if casted, ok := structType.(BACnetAccessThreatLevel); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserType.go
index 01545bdb5e..daf5533001 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserType.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserType.go
@@ -93,8 +93,8 @@ func BACnetAccessUserTypeKnows(value uint16) bool {
return false
}
-func CastBACnetAccessUserType(structType interface{}) BACnetAccessUserType {
- castFunc := func(typ interface{}) BACnetAccessUserType {
+func CastBACnetAccessUserType(structType any) BACnetAccessUserType {
+ castFunc := func(typ any) BACnetAccessUserType {
if sBACnetAccessUserType, ok := typ.(BACnetAccessUserType); ok {
return sBACnetAccessUserType
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserTypeTagged.go
index 206846a4ac..b0ad4a6130 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserTypeTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserTypeTagged.go
@@ -104,7 +104,7 @@ func NewBACnetAccessUserTypeTagged(header BACnetTagHeader, value BACnetAccessUse
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessUserTypeTagged(structType interface{}) BACnetAccessUserTypeTagged {
+func CastBACnetAccessUserTypeTagged(structType any) BACnetAccessUserTypeTagged {
if casted, ok := structType.(BACnetAccessUserTypeTagged); ok {
return casted
}
@@ -125,12 +125,12 @@ func (m *_BACnetAccessUserTypeTagged) GetLengthInBits(ctx context.Context) uint1
lengthInBits += m.Header.GetLengthInBits(ctx)
// Manual Field (value)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32(int32(0)) }, func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32(int32(0)) }, func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
// A virtual field doesn't have any in- or output.
// Manual Field (proprietaryValue)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() interface{} { return int32(int32(0)) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() any { return int32(int32(0)) }).(int32))
return lengthInBits
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyState.go
index 173d11d7e2..f7a1e0f0ad 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyState.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyState.go
@@ -117,8 +117,8 @@ func BACnetAccessZoneOccupancyStateKnows(value uint16) bool {
return false
}
-func CastBACnetAccessZoneOccupancyState(structType interface{}) BACnetAccessZoneOccupancyState {
- castFunc := func(typ interface{}) BACnetAccessZoneOccupancyState {
+func CastBACnetAccessZoneOccupancyState(structType any) BACnetAccessZoneOccupancyState {
+ castFunc := func(typ any) BACnetAccessZoneOccupancyState {
if sBACnetAccessZoneOccupancyState, ok := typ.(BACnetAccessZoneOccupancyState); ok {
return sBACnetAccessZoneOccupancyState
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyStateTagged.go
index 8e7a5f0d4f..fdc0ece527 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyStateTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyStateTagged.go
@@ -104,7 +104,7 @@ func NewBACnetAccessZoneOccupancyStateTagged(header BACnetTagHeader, value BACne
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccessZoneOccupancyStateTagged(structType interface{}) BACnetAccessZoneOccupancyStateTagged {
+func CastBACnetAccessZoneOccupancyStateTagged(structType any) BACnetAccessZoneOccupancyStateTagged {
if casted, ok := structType.(BACnetAccessZoneOccupancyStateTagged); ok {
return casted
}
@@ -125,12 +125,12 @@ func (m *_BACnetAccessZoneOccupancyStateTagged) GetLengthInBits(ctx context.Cont
lengthInBits += m.Header.GetLengthInBits(ctx)
// Manual Field (value)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32(int32(0)) }, func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32(int32(0)) }, func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
// A virtual field doesn't have any in- or output.
// Manual Field (proprietaryValue)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() interface{} { return int32(int32(0)) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() any { return int32(int32(0)) }).(int32))
return lengthInBits
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecord.go
index 8bc791801e..1d60bfc970 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecord.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecord.go
@@ -90,7 +90,7 @@ func NewBACnetAccumulatorRecord(timestamp BACnetDateTimeEnclosed, presentValue B
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccumulatorRecord(structType interface{}) BACnetAccumulatorRecord {
+func CastBACnetAccumulatorRecord(structType any) BACnetAccumulatorRecord {
if casted, ok := structType.(BACnetAccumulatorRecord); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatus.go
index f8e727de13..44f6912f49 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatus.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatus.go
@@ -99,8 +99,8 @@ func BACnetAccumulatorRecordAccumulatorStatusKnows(value uint8) bool {
return false
}
-func CastBACnetAccumulatorRecordAccumulatorStatus(structType interface{}) BACnetAccumulatorRecordAccumulatorStatus {
- castFunc := func(typ interface{}) BACnetAccumulatorRecordAccumulatorStatus {
+func CastBACnetAccumulatorRecordAccumulatorStatus(structType any) BACnetAccumulatorRecordAccumulatorStatus {
+ castFunc := func(typ any) BACnetAccumulatorRecordAccumulatorStatus {
if sBACnetAccumulatorRecordAccumulatorStatus, ok := typ.(BACnetAccumulatorRecordAccumulatorStatus); ok {
return sBACnetAccumulatorRecordAccumulatorStatus
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatusTagged.go
index ef5691bbfe..d69106539e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatusTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatusTagged.go
@@ -80,7 +80,7 @@ func NewBACnetAccumulatorRecordAccumulatorStatusTagged(header BACnetTagHeader, v
}
// Deprecated: use the interface for direct cast
-func CastBACnetAccumulatorRecordAccumulatorStatusTagged(structType interface{}) BACnetAccumulatorRecordAccumulatorStatusTagged {
+func CastBACnetAccumulatorRecordAccumulatorStatusTagged(structType any) BACnetAccumulatorRecordAccumulatorStatusTagged {
if casted, ok := structType.(BACnetAccumulatorRecordAccumulatorStatusTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAction.go
index c0f5e67a2b..db7e4298b2 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAction.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAction.go
@@ -81,8 +81,8 @@ func BACnetActionKnows(value uint8) bool {
return false
}
-func CastBACnetAction(structType interface{}) BACnetAction {
- castFunc := func(typ interface{}) BACnetAction {
+func CastBACnetAction(structType any) BACnetAction {
+ castFunc := func(typ any) BACnetAction {
if sBACnetAction, ok := typ.(BACnetAction); ok {
return sBACnetAction
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionCommand.go
index a90637e14b..fc681186c9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionCommand.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionCommand.go
@@ -126,7 +126,7 @@ func NewBACnetActionCommand(deviceIdentifier BACnetContextTagObjectIdentifier, o
}
// Deprecated: use the interface for direct cast
-func CastBACnetActionCommand(structType interface{}) BACnetActionCommand {
+func CastBACnetActionCommand(structType any) BACnetActionCommand {
if casted, ok := structType.(BACnetActionCommand); ok {
return casted
}
@@ -277,7 +277,7 @@ func BACnetActionCommandParseWithBuffer(ctx context.Context, readBuffer utils.Re
if pullErr := readBuffer.PullContext("propertyValue"); pullErr != nil {
return nil, errors.Wrap(pullErr, "Error pulling for propertyValue")
}
- _val, _err := BACnetConstructedDataParseWithBuffer(ctx, readBuffer, uint8(4), objectIdentifier.GetObjectType(), propertyIdentifier.GetValue(), (CastBACnetTagPayloadUnsignedInteger(utils.InlineIf(bool((arrayIndex) != (nil)), func() interface{} { return CastBACnetTagPayloadUnsignedInteger((arrayIndex).GetPayload()) }, func() interface{} { return CastBACnetTagPayloadUnsignedInteger(nil) }))))
+ _val, _err := BACnetConstructedDataParseWithBuffer(ctx, readBuffer, uint8(4), objectIdentifier.GetObjectType(), propertyIdentifier.GetValue(), (CastBACnetTagPayloadUnsignedInteger(utils.InlineIf(bool((arrayIndex) != (nil)), func() any { return CastBACnetTagPayloadUnsignedInteger((arrayIndex).GetPayload()) }, func() any { return CastBACnetTagPayloadUnsignedInteger(nil) }))))
switch {
case errors.Is(_err, utils.ParseAssertError{}) || errors.Is(_err, io.EOF):
Plc4xModelLog.Debug().Err(_err).Msg("Resetting position because optional threw an error")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionList.go
index 7795121416..fc96b5e483 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionList.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionList.go
@@ -83,7 +83,7 @@ func NewBACnetActionList(innerOpeningTag BACnetOpeningTag, action []BACnetAction
}
// Deprecated: use the interface for direct cast
-func CastBACnetActionList(structType interface{}) BACnetActionList {
+func CastBACnetActionList(structType any) BACnetActionList {
if casted, ok := structType.(BACnetActionList); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionTagged.go
index 3f8b6cfebc..60fd39589d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionTagged.go
@@ -80,7 +80,7 @@ func NewBACnetActionTagged(header BACnetTagHeader, value BACnetAction, tagNumber
}
// Deprecated: use the interface for direct cast
-func CastBACnetActionTagged(structType interface{}) BACnetActionTagged {
+func CastBACnetActionTagged(structType any) BACnetActionTagged {
if casted, ok := structType.(BACnetActionTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddress.go
index 6a6186664e..c42a0c40ce 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddress.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddress.go
@@ -109,7 +109,7 @@ func NewBACnetAddress(networkNumber BACnetApplicationTagUnsignedInteger, macAddr
}
// Deprecated: use the interface for direct cast
-func CastBACnetAddress(structType interface{}) BACnetAddress {
+func CastBACnetAddress(structType any) BACnetAddress {
if casted, ok := structType.(BACnetAddress); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressBinding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressBinding.go
index f3878b2b1d..5b63b96eb8 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressBinding.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressBinding.go
@@ -76,7 +76,7 @@ func NewBACnetAddressBinding(deviceIdentifier BACnetApplicationTagObjectIdentifi
}
// Deprecated: use the interface for direct cast
-func CastBACnetAddressBinding(structType interface{}) BACnetAddressBinding {
+func CastBACnetAddressBinding(structType any) BACnetAddressBinding {
if casted, ok := structType.(BACnetAddressBinding); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressEnclosed.go
index e3b460b574..1f582bac22 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressEnclosed.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressEnclosed.go
@@ -86,7 +86,7 @@ func NewBACnetAddressEnclosed(openingTag BACnetOpeningTag, address BACnetAddress
}
// Deprecated: use the interface for direct cast
-func CastBACnetAddressEnclosed(structType interface{}) BACnetAddressEnclosed {
+func CastBACnetAddressEnclosed(structType any) BACnetAddressEnclosed {
if casted, ok := structType.(BACnetAddressEnclosed); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go
index 532b4d146a..8b3c3322f1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go
@@ -115,7 +115,7 @@ func NewBACnetApplicationTag(header BACnetTagHeader) *_BACnetApplicationTag {
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTag(structType interface{}) BACnetApplicationTag {
+func CastBACnetApplicationTag(structType any) BACnetApplicationTag {
if casted, ok := structType.(BACnetApplicationTag); ok {
return casted
}
@@ -193,7 +193,7 @@ func BACnetApplicationTagParseWithBuffer(ctx context.Context, readBuffer utils.R
InitializeParent(BACnetApplicationTag, BACnetTagHeader)
GetParent() BACnetApplicationTag
}
- var _childTemp interface{}
+ var _childTemp any
var _child BACnetApplicationTagChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go
index 6fa8e8a0fd..1a4a4732e8 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go
@@ -94,7 +94,7 @@ func NewBACnetApplicationTagBitString(payload BACnetTagPayloadBitString, header
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagBitString(structType interface{}) BACnetApplicationTagBitString {
+func CastBACnetApplicationTagBitString(structType any) BACnetApplicationTagBitString {
if casted, ok := structType.(BACnetApplicationTagBitString); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go
index 58fd9000cf..9fca990b50 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go
@@ -111,7 +111,7 @@ func NewBACnetApplicationTagBoolean(payload BACnetTagPayloadBoolean, header BACn
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagBoolean(structType interface{}) BACnetApplicationTagBoolean {
+func CastBACnetApplicationTagBoolean(structType any) BACnetApplicationTagBoolean {
if casted, ok := structType.(BACnetApplicationTagBoolean); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go
index 13db6e172c..aab457de70 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go
@@ -111,7 +111,7 @@ func NewBACnetApplicationTagCharacterString(payload BACnetTagPayloadCharacterStr
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagCharacterString(structType interface{}) BACnetApplicationTagCharacterString {
+func CastBACnetApplicationTagCharacterString(structType any) BACnetApplicationTagCharacterString {
if casted, ok := structType.(BACnetApplicationTagCharacterString); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go
index 680cb904a6..761aa30d09 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go
@@ -94,7 +94,7 @@ func NewBACnetApplicationTagDate(payload BACnetTagPayloadDate, header BACnetTagH
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagDate(structType interface{}) BACnetApplicationTagDate {
+func CastBACnetApplicationTagDate(structType any) BACnetApplicationTagDate {
if casted, ok := structType.(BACnetApplicationTagDate); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go
index 6e9ec165a4..b9a535efdf 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go
@@ -111,7 +111,7 @@ func NewBACnetApplicationTagDouble(payload BACnetTagPayloadDouble, header BACnet
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagDouble(structType interface{}) BACnetApplicationTagDouble {
+func CastBACnetApplicationTagDouble(structType any) BACnetApplicationTagDouble {
if casted, ok := structType.(BACnetApplicationTagDouble); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go
index 6da33c1fd3..4834dc2c8f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go
@@ -111,7 +111,7 @@ func NewBACnetApplicationTagEnumerated(payload BACnetTagPayloadEnumerated, heade
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagEnumerated(structType interface{}) BACnetApplicationTagEnumerated {
+func CastBACnetApplicationTagEnumerated(structType any) BACnetApplicationTagEnumerated {
if casted, ok := structType.(BACnetApplicationTagEnumerated); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go
index ebca165b8e..8750954987 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go
@@ -76,7 +76,7 @@ func NewBACnetApplicationTagNull(header BACnetTagHeader) *_BACnetApplicationTagN
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagNull(structType interface{}) BACnetApplicationTagNull {
+func CastBACnetApplicationTagNull(structType any) BACnetApplicationTagNull {
if casted, ok := structType.(BACnetApplicationTagNull); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go
index ee90af6173..77f8e4b206 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go
@@ -119,7 +119,7 @@ func NewBACnetApplicationTagObjectIdentifier(payload BACnetTagPayloadObjectIdent
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagObjectIdentifier(structType interface{}) BACnetApplicationTagObjectIdentifier {
+func CastBACnetApplicationTagObjectIdentifier(structType any) BACnetApplicationTagObjectIdentifier {
if casted, ok := structType.(BACnetApplicationTagObjectIdentifier); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go
index 4a0f8f5f07..a06ebb733b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go
@@ -94,7 +94,7 @@ func NewBACnetApplicationTagOctetString(payload BACnetTagPayloadOctetString, hea
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagOctetString(structType interface{}) BACnetApplicationTagOctetString {
+func CastBACnetApplicationTagOctetString(structType any) BACnetApplicationTagOctetString {
if casted, ok := structType.(BACnetApplicationTagOctetString); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go
index e6099c0f36..33226f8771 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go
@@ -111,7 +111,7 @@ func NewBACnetApplicationTagReal(payload BACnetTagPayloadReal, header BACnetTagH
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagReal(structType interface{}) BACnetApplicationTagReal {
+func CastBACnetApplicationTagReal(structType any) BACnetApplicationTagReal {
if casted, ok := structType.(BACnetApplicationTagReal); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go
index 8f2b8b2758..d4f7393593 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go
@@ -111,7 +111,7 @@ func NewBACnetApplicationTagSignedInteger(payload BACnetTagPayloadSignedInteger,
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagSignedInteger(structType interface{}) BACnetApplicationTagSignedInteger {
+func CastBACnetApplicationTagSignedInteger(structType any) BACnetApplicationTagSignedInteger {
if casted, ok := structType.(BACnetApplicationTagSignedInteger); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go
index 1ffa6da3f7..fb336db714 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go
@@ -94,7 +94,7 @@ func NewBACnetApplicationTagTime(payload BACnetTagPayloadTime, header BACnetTagH
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagTime(structType interface{}) BACnetApplicationTagTime {
+func CastBACnetApplicationTagTime(structType any) BACnetApplicationTagTime {
if casted, ok := structType.(BACnetApplicationTagTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go
index c33bcda2d6..226d009a64 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go
@@ -111,7 +111,7 @@ func NewBACnetApplicationTagUnsignedInteger(payload BACnetTagPayloadUnsignedInte
}
// Deprecated: use the interface for direct cast
-func CastBACnetApplicationTagUnsignedInteger(structType interface{}) BACnetApplicationTagUnsignedInteger {
+func CastBACnetApplicationTagUnsignedInteger(structType any) BACnetApplicationTagUnsignedInteger {
if casted, ok := structType.(BACnetApplicationTagUnsignedInteger); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedAccessRights.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedAccessRights.go
index 7e635b9c39..4c6847dcb9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedAccessRights.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedAccessRights.go
@@ -76,7 +76,7 @@ func NewBACnetAssignedAccessRights(assignedAccessRights BACnetDeviceObjectRefere
}
// Deprecated: use the interface for direct cast
-func CastBACnetAssignedAccessRights(structType interface{}) BACnetAssignedAccessRights {
+func CastBACnetAssignedAccessRights(structType any) BACnetAssignedAccessRights {
if casted, ok := structType.(BACnetAssignedAccessRights); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCalls.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCalls.go
index 237985fe7a..304a06d133 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCalls.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCalls.go
@@ -69,7 +69,7 @@ func NewBACnetAssignedLandingCalls(landingCalls BACnetAssignedLandingCallsLandin
}
// Deprecated: use the interface for direct cast
-func CastBACnetAssignedLandingCalls(structType interface{}) BACnetAssignedLandingCalls {
+func CastBACnetAssignedLandingCalls(structType any) BACnetAssignedLandingCalls {
if casted, ok := structType.(BACnetAssignedLandingCalls); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsList.go
index c11b6012c3..0c5c4f499e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsList.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsList.go
@@ -86,7 +86,7 @@ func NewBACnetAssignedLandingCallsLandingCallsList(openingTag BACnetOpeningTag,
}
// Deprecated: use the interface for direct cast
-func CastBACnetAssignedLandingCallsLandingCallsList(structType interface{}) BACnetAssignedLandingCallsLandingCallsList {
+func CastBACnetAssignedLandingCallsLandingCallsList(structType any) BACnetAssignedLandingCallsLandingCallsList {
if casted, ok := structType.(BACnetAssignedLandingCallsLandingCallsList); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsListEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsListEntry.go
index 78a07510f2..ddca44a570 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsListEntry.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsListEntry.go
@@ -76,7 +76,7 @@ func NewBACnetAssignedLandingCallsLandingCallsListEntry(floorNumber BACnetContex
}
// Deprecated: use the interface for direct cast
-func CastBACnetAssignedLandingCallsLandingCallsListEntry(structType interface{}) BACnetAssignedLandingCallsLandingCallsListEntry {
+func CastBACnetAssignedLandingCallsLandingCallsListEntry(structType any) BACnetAssignedLandingCallsLandingCallsListEntry {
if casted, ok := structType.(BACnetAssignedLandingCallsLandingCallsListEntry); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactor.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactor.go
index 248c8a86e3..aea95030d5 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactor.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactor.go
@@ -83,7 +83,7 @@ func NewBACnetAuthenticationFactor(formatType BACnetAuthenticationFactorTypeTagg
}
// Deprecated: use the interface for direct cast
-func CastBACnetAuthenticationFactor(structType interface{}) BACnetAuthenticationFactor {
+func CastBACnetAuthenticationFactor(structType any) BACnetAuthenticationFactor {
if casted, ok := structType.(BACnetAuthenticationFactor); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorEnclosed.go
index 7d5750fb80..ab3e0a675d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorEnclosed.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorEnclosed.go
@@ -86,7 +86,7 @@ func NewBACnetAuthenticationFactorEnclosed(openingTag BACnetOpeningTag, authenti
}
// Deprecated: use the interface for direct cast
-func CastBACnetAuthenticationFactorEnclosed(structType interface{}) BACnetAuthenticationFactorEnclosed {
+func CastBACnetAuthenticationFactorEnclosed(structType any) BACnetAuthenticationFactorEnclosed {
if casted, ok := structType.(BACnetAuthenticationFactorEnclosed); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorFormat.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorFormat.go
index 0f4c1ff796..28e1686b9f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorFormat.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorFormat.go
@@ -84,7 +84,7 @@ func NewBACnetAuthenticationFactorFormat(formatType BACnetAuthenticationFactorTy
}
// Deprecated: use the interface for direct cast
-func CastBACnetAuthenticationFactorFormat(structType interface{}) BACnetAuthenticationFactorFormat {
+func CastBACnetAuthenticationFactorFormat(structType any) BACnetAuthenticationFactorFormat {
if casted, ok := structType.(BACnetAuthenticationFactorFormat); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorType.go
index f737c87fb3..a1eea899bc 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorType.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorType.go
@@ -219,8 +219,8 @@ func BACnetAuthenticationFactorTypeKnows(value uint8) bool {
return false
}
-func CastBACnetAuthenticationFactorType(structType interface{}) BACnetAuthenticationFactorType {
- castFunc := func(typ interface{}) BACnetAuthenticationFactorType {
+func CastBACnetAuthenticationFactorType(structType any) BACnetAuthenticationFactorType {
+ castFunc := func(typ any) BACnetAuthenticationFactorType {
if sBACnetAuthenticationFactorType, ok := typ.(BACnetAuthenticationFactorType); ok {
return sBACnetAuthenticationFactorType
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorTypeTagged.go
index 09a519cae5..d7d1decbb1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorTypeTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorTypeTagged.go
@@ -80,7 +80,7 @@ func NewBACnetAuthenticationFactorTypeTagged(header BACnetTagHeader, value BACne
}
// Deprecated: use the interface for direct cast
-func CastBACnetAuthenticationFactorTypeTagged(structType interface{}) BACnetAuthenticationFactorTypeTagged {
+func CastBACnetAuthenticationFactorTypeTagged(structType any) BACnetAuthenticationFactorTypeTagged {
if casted, ok := structType.(BACnetAuthenticationFactorTypeTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicy.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicy.go
index 2ef8d1a9c8..e91b5a7d7f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicy.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicy.go
@@ -83,7 +83,7 @@ func NewBACnetAuthenticationPolicy(policy BACnetAuthenticationPolicyList, orderE
}
// Deprecated: use the interface for direct cast
-func CastBACnetAuthenticationPolicy(structType interface{}) BACnetAuthenticationPolicy {
+func CastBACnetAuthenticationPolicy(structType any) BACnetAuthenticationPolicy {
if casted, ok := structType.(BACnetAuthenticationPolicy); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyList.go
index ff81c38213..e37ee09ce5 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyList.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyList.go
@@ -86,7 +86,7 @@ func NewBACnetAuthenticationPolicyList(openingTag BACnetOpeningTag, entries []BA
}
// Deprecated: use the interface for direct cast
-func CastBACnetAuthenticationPolicyList(structType interface{}) BACnetAuthenticationPolicyList {
+func CastBACnetAuthenticationPolicyList(structType any) BACnetAuthenticationPolicyList {
if casted, ok := structType.(BACnetAuthenticationPolicyList); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyListEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyListEntry.go
index d6dfee7c73..4ccf0ff437 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyListEntry.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyListEntry.go
@@ -76,7 +76,7 @@ func NewBACnetAuthenticationPolicyListEntry(credentialDataInput BACnetDeviceObje
}
// Deprecated: use the interface for direct cast
-func CastBACnetAuthenticationPolicyListEntry(structType interface{}) BACnetAuthenticationPolicyListEntry {
+func CastBACnetAuthenticationPolicyListEntry(structType any) BACnetAuthenticationPolicyListEntry {
if casted, ok := structType.(BACnetAuthenticationPolicyListEntry); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatus.go
index e9d928bbbd..cde22a2892 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatus.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatus.go
@@ -111,8 +111,8 @@ func BACnetAuthenticationStatusKnows(value uint8) bool {
return false
}
-func CastBACnetAuthenticationStatus(structType interface{}) BACnetAuthenticationStatus {
- castFunc := func(typ interface{}) BACnetAuthenticationStatus {
+func CastBACnetAuthenticationStatus(structType any) BACnetAuthenticationStatus {
+ castFunc := func(typ any) BACnetAuthenticationStatus {
if sBACnetAuthenticationStatus, ok := typ.(BACnetAuthenticationStatus); ok {
return sBACnetAuthenticationStatus
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatusTagged.go
index 1b44e2191f..d3b1a8ce70 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatusTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatusTagged.go
@@ -80,7 +80,7 @@ func NewBACnetAuthenticationStatusTagged(header BACnetTagHeader, value BACnetAut
}
// Deprecated: use the interface for direct cast
-func CastBACnetAuthenticationStatusTagged(structType interface{}) BACnetAuthenticationStatusTagged {
+func CastBACnetAuthenticationStatusTagged(structType any) BACnetAuthenticationStatusTagged {
if casted, ok := structType.(BACnetAuthenticationStatusTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemption.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemption.go
index 6749060890..655a13b89f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemption.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemption.go
@@ -117,8 +117,8 @@ func BACnetAuthorizationExemptionKnows(value uint8) bool {
return false
}
-func CastBACnetAuthorizationExemption(structType interface{}) BACnetAuthorizationExemption {
- castFunc := func(typ interface{}) BACnetAuthorizationExemption {
+func CastBACnetAuthorizationExemption(structType any) BACnetAuthorizationExemption {
+ castFunc := func(typ any) BACnetAuthorizationExemption {
if sBACnetAuthorizationExemption, ok := typ.(BACnetAuthorizationExemption); ok {
return sBACnetAuthorizationExemption
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemptionTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemptionTagged.go
index 0eddbb76c9..45534f66d9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemptionTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemptionTagged.go
@@ -104,7 +104,7 @@ func NewBACnetAuthorizationExemptionTagged(header BACnetTagHeader, value BACnetA
}
// Deprecated: use the interface for direct cast
-func CastBACnetAuthorizationExemptionTagged(structType interface{}) BACnetAuthorizationExemptionTagged {
+func CastBACnetAuthorizationExemptionTagged(structType any) BACnetAuthorizationExemptionTagged {
if casted, ok := structType.(BACnetAuthorizationExemptionTagged); ok {
return casted
}
@@ -125,12 +125,12 @@ func (m *_BACnetAuthorizationExemptionTagged) GetLengthInBits(ctx context.Contex
lengthInBits += m.Header.GetLengthInBits(ctx)
// Manual Field (value)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32(int32(0)) }, func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32(int32(0)) }, func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
// A virtual field doesn't have any in- or output.
// Manual Field (proprietaryValue)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() interface{} { return int32(int32(0)) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() any { return int32(int32(0)) }).(int32))
return lengthInBits
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationMode.go
index f1ff35c47c..fddbdbbe5a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationMode.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationMode.go
@@ -111,8 +111,8 @@ func BACnetAuthorizationModeKnows(value uint16) bool {
return false
}
-func CastBACnetAuthorizationMode(structType interface{}) BACnetAuthorizationMode {
- castFunc := func(typ interface{}) BACnetAuthorizationMode {
+func CastBACnetAuthorizationMode(structType any) BACnetAuthorizationMode {
+ castFunc := func(typ any) BACnetAuthorizationMode {
if sBACnetAuthorizationMode, ok := typ.(BACnetAuthorizationMode); ok {
return sBACnetAuthorizationMode
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationModeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationModeTagged.go
index 1555ea9eae..7333b07002 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationModeTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationModeTagged.go
@@ -104,7 +104,7 @@ func NewBACnetAuthorizationModeTagged(header BACnetTagHeader, value BACnetAuthor
}
// Deprecated: use the interface for direct cast
-func CastBACnetAuthorizationModeTagged(structType interface{}) BACnetAuthorizationModeTagged {
+func CastBACnetAuthorizationModeTagged(structType any) BACnetAuthorizationModeTagged {
if casted, ok := structType.(BACnetAuthorizationModeTagged); ok {
return casted
}
@@ -125,12 +125,12 @@ func (m *_BACnetAuthorizationModeTagged) GetLengthInBits(ctx context.Context) ui
lengthInBits += m.Header.GetLengthInBits(ctx)
// Manual Field (value)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32(int32(0)) }, func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32(int32(0)) }, func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
// A virtual field doesn't have any in- or output.
// Manual Field (proprietaryValue)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() interface{} { return int32(int32(0)) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() any { return int32(int32(0)) }).(int32))
return lengthInBits
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBDTEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBDTEntry.go
index 4b24fc9411..99789e5dee 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBDTEntry.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBDTEntry.go
@@ -77,7 +77,7 @@ func NewBACnetBDTEntry(bbmdAddress BACnetHostNPortEnclosed, broadcastMask BACnet
}
// Deprecated: use the interface for direct cast
-func CastBACnetBDTEntry(structType interface{}) BACnetBDTEntry {
+func CastBACnetBDTEntry(structType any) BACnetBDTEntry {
if casted, ok := structType.(BACnetBDTEntry); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupState.go
index bb4b96cfaa..b409183f1d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupState.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupState.go
@@ -111,8 +111,8 @@ func BACnetBackupStateKnows(value uint8) bool {
return false
}
-func CastBACnetBackupState(structType interface{}) BACnetBackupState {
- castFunc := func(typ interface{}) BACnetBackupState {
+func CastBACnetBackupState(structType any) BACnetBackupState {
+ castFunc := func(typ any) BACnetBackupState {
if sBACnetBackupState, ok := typ.(BACnetBackupState); ok {
return sBACnetBackupState
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupStateTagged.go
index ef72bc438f..d83b4dd18b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupStateTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupStateTagged.go
@@ -80,7 +80,7 @@ func NewBACnetBackupStateTagged(header BACnetTagHeader, value BACnetBackupState,
}
// Deprecated: use the interface for direct cast
-func CastBACnetBackupStateTagged(structType interface{}) BACnetBackupStateTagged {
+func CastBACnetBackupStateTagged(structType any) BACnetBackupStateTagged {
if casted, ok := structType.(BACnetBackupStateTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPV.go
index cb6081f198..0c9bba0821 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPV.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPV.go
@@ -111,8 +111,8 @@ func BACnetBinaryLightingPVKnows(value uint8) bool {
return false
}
-func CastBACnetBinaryLightingPV(structType interface{}) BACnetBinaryLightingPV {
- castFunc := func(typ interface{}) BACnetBinaryLightingPV {
+func CastBACnetBinaryLightingPV(structType any) BACnetBinaryLightingPV {
+ castFunc := func(typ any) BACnetBinaryLightingPV {
if sBACnetBinaryLightingPV, ok := typ.(BACnetBinaryLightingPV); ok {
return sBACnetBinaryLightingPV
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPVTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPVTagged.go
index 78a4cd7958..50f8fc8e47 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPVTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPVTagged.go
@@ -104,7 +104,7 @@ func NewBACnetBinaryLightingPVTagged(header BACnetTagHeader, value BACnetBinaryL
}
// Deprecated: use the interface for direct cast
-func CastBACnetBinaryLightingPVTagged(structType interface{}) BACnetBinaryLightingPVTagged {
+func CastBACnetBinaryLightingPVTagged(structType any) BACnetBinaryLightingPVTagged {
if casted, ok := structType.(BACnetBinaryLightingPVTagged); ok {
return casted
}
@@ -125,12 +125,12 @@ func (m *_BACnetBinaryLightingPVTagged) GetLengthInBits(ctx context.Context) uin
lengthInBits += m.Header.GetLengthInBits(ctx)
// Manual Field (value)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32(int32(0)) }, func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32(int32(0)) }, func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }).(int32))
// A virtual field doesn't have any in- or output.
// Manual Field (proprietaryValue)
- lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() interface{} { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() interface{} { return int32(int32(0)) }).(int32))
+ lengthInBits += uint16(utils.InlineIf(m.GetIsProprietary(), func() any { return int32((int32(m.GetHeader().GetActualLength()) * int32(int32(8)))) }, func() any { return int32(int32(0)) }).(int32))
return lengthInBits
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPV.go
index eb10d19c04..0e9f33f401 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPV.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPV.go
@@ -81,8 +81,8 @@ func BACnetBinaryPVKnows(value uint8) bool {
return false
}
-func CastBACnetBinaryPV(structType interface{}) BACnetBinaryPV {
- castFunc := func(typ interface{}) BACnetBinaryPV {
+func CastBACnetBinaryPV(structType any) BACnetBinaryPV {
+ castFunc := func(typ any) BACnetBinaryPV {
if sBACnetBinaryPV, ok := typ.(BACnetBinaryPV); ok {
return sBACnetBinaryPV
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPVTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPVTagged.go
index a4061b83f2..3c8099695b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPVTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPVTagged.go
@@ -80,7 +80,7 @@ func NewBACnetBinaryPVTagged(header BACnetTagHeader, value BACnetBinaryPV, tagNu
}
// Deprecated: use the interface for direct cast
-func CastBACnetBinaryPVTagged(structType interface{}) BACnetBinaryPVTagged {
+func CastBACnetBinaryPVTagged(structType any) BACnetBinaryPVTagged {
if casted, ok := structType.(BACnetBinaryPVTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscription.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscription.go
index c3c064596f..a30da7c84e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscription.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscription.go
@@ -97,7 +97,7 @@ func NewBACnetCOVMultipleSubscription(recipient BACnetRecipientProcessEnclosed,
}
// Deprecated: use the interface for direct cast
-func CastBACnetCOVMultipleSubscription(structType interface{}) BACnetCOVMultipleSubscription {
+func CastBACnetCOVMultipleSubscription(structType any) BACnetCOVMultipleSubscription {
if casted, ok := structType.(BACnetCOVMultipleSubscription); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification.go
index 32b3c91b6a..7f1c7b5209 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification.go
@@ -86,7 +86,7 @@ func NewBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification(openingT
}
// Deprecated: use the interface for direct cast
-func CastBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification(structType interface{}) BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification {
+func CastBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification(structType any) BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification {
if casted, ok := structType.(BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry.go
index 6efb4dcdc9..5a44ac1064 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry.go
@@ -76,7 +76,7 @@ func NewBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry(mon
}
// Deprecated: use the interface for direct cast
-func CastBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry(structType interface{}) BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry {
+func CastBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry(structType any) BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry {
if casted, ok := structType.(BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences.go
index 399d0db2fb..7651877033 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences.go
@@ -86,7 +86,7 @@ func NewBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryList
}
// Deprecated: use the interface for direct cast
-func CastBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences(structType interface{}) BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences {
+func CastBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences(structType any) BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences {
if casted, ok := structType.(BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry.go
index de1fc10230..adcaf5f7b3 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry.go
@@ -84,7 +84,7 @@ func NewBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryList
}
// Deprecated: use the interface for direct cast
-func CastBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry(structType interface{}) BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry {
+func CastBACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry(structType any) BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry {
if casted, ok := structType.(BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVSubscription.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVSubscription.go
index 76ade70d53..5144dde213 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVSubscription.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVSubscription.go
@@ -98,7 +98,7 @@ func NewBACnetCOVSubscription(recipient BACnetRecipientProcessEnclosed, monitore
}
// Deprecated: use the interface for direct cast
-func CastBACnetCOVSubscription(structType interface{}) BACnetCOVSubscription {
+func CastBACnetCOVSubscription(structType any) BACnetCOVSubscription {
if casted, ok := structType.(BACnetCOVSubscription); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go
index 9fb0ea0a4d..b2967756ee 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go
@@ -107,7 +107,7 @@ func NewBACnetCalendarEntry(peekedTagHeader BACnetTagHeader) *_BACnetCalendarEnt
}
// Deprecated: use the interface for direct cast
-func CastBACnetCalendarEntry(structType interface{}) BACnetCalendarEntry {
+func CastBACnetCalendarEntry(structType any) BACnetCalendarEntry {
if casted, ok := structType.(BACnetCalendarEntry); ok {
return casted
}
@@ -170,7 +170,7 @@ func BACnetCalendarEntryParseWithBuffer(ctx context.Context, readBuffer utils.Re
InitializeParent(BACnetCalendarEntry, BACnetTagHeader)
GetParent() BACnetCalendarEntry
}
- var _childTemp interface{}
+ var _childTemp any
var _child BACnetCalendarEntryChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go
index fc800591a2..c2773635b6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go
@@ -94,7 +94,7 @@ func NewBACnetCalendarEntryDate(dateValue BACnetContextTagDate, peekedTagHeader
}
// Deprecated: use the interface for direct cast
-func CastBACnetCalendarEntryDate(structType interface{}) BACnetCalendarEntryDate {
+func CastBACnetCalendarEntryDate(structType any) BACnetCalendarEntryDate {
if casted, ok := structType.(BACnetCalendarEntryDate); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go
index 77043d6dc0..afba113035 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go
@@ -94,7 +94,7 @@ func NewBACnetCalendarEntryDateRange(dateRange BACnetDateRangeEnclosed, peekedTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetCalendarEntryDateRange(structType interface{}) BACnetCalendarEntryDateRange {
+func CastBACnetCalendarEntryDateRange(structType any) BACnetCalendarEntryDateRange {
if casted, ok := structType.(BACnetCalendarEntryDateRange); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryEnclosed.go
index 84be8da270..cd3e8e0268 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryEnclosed.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryEnclosed.go
@@ -86,7 +86,7 @@ func NewBACnetCalendarEntryEnclosed(openingTag BACnetOpeningTag, calendarEntry B
}
// Deprecated: use the interface for direct cast
-func CastBACnetCalendarEntryEnclosed(structType interface{}) BACnetCalendarEntryEnclosed {
+func CastBACnetCalendarEntryEnclosed(structType any) BACnetCalendarEntryEnclosed {
if casted, ok := structType.(BACnetCalendarEntryEnclosed); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go
index cea9ffab7e..6076c3f153 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go
@@ -94,7 +94,7 @@ func NewBACnetCalendarEntryWeekNDay(weekNDay BACnetWeekNDayTagged, peekedTagHead
}
// Deprecated: use the interface for direct cast
-func CastBACnetCalendarEntryWeekNDay(structType interface{}) BACnetCalendarEntryWeekNDay {
+func CastBACnetCalendarEntryWeekNDay(structType any) BACnetCalendarEntryWeekNDay {
if casted, ok := structType.(BACnetCalendarEntryWeekNDay); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go
index ecec0a6f83..6865e7f9af 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go
@@ -116,7 +116,7 @@ func NewBACnetChannelValue(peekedTagHeader BACnetTagHeader) *_BACnetChannelValue
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValue(structType interface{}) BACnetChannelValue {
+func CastBACnetChannelValue(structType any) BACnetChannelValue {
if casted, ok := structType.(BACnetChannelValue); ok {
return casted
}
@@ -186,7 +186,7 @@ func BACnetChannelValueParseWithBuffer(ctx context.Context, readBuffer utils.Rea
InitializeParent(BACnetChannelValue, BACnetTagHeader)
GetParent() BACnetChannelValue
}
- var _childTemp interface{}
+ var _childTemp any
var _child BACnetChannelValueChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go
index 36a82f890d..74a193fb17 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueBitString(bitStringValue BACnetApplicationTagBitString
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueBitString(structType interface{}) BACnetChannelValueBitString {
+func CastBACnetChannelValueBitString(structType any) BACnetChannelValueBitString {
if casted, ok := structType.(BACnetChannelValueBitString); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go
index d859b15fa4..0b19c2ee6d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueBoolean(booleanValue BACnetApplicationTagBoolean, peek
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueBoolean(structType interface{}) BACnetChannelValueBoolean {
+func CastBACnetChannelValueBoolean(structType any) BACnetChannelValueBoolean {
if casted, ok := structType.(BACnetChannelValueBoolean); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go
index 8cbb4ada55..617ddea1d0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueCharacterString(characterStringValue BACnetApplication
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueCharacterString(structType interface{}) BACnetChannelValueCharacterString {
+func CastBACnetChannelValueCharacterString(structType any) BACnetChannelValueCharacterString {
if casted, ok := structType.(BACnetChannelValueCharacterString); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go
index 6bda8421fc..9f017ea83b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueDate(dateValue BACnetApplicationTagDate, peekedTagHead
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueDate(structType interface{}) BACnetChannelValueDate {
+func CastBACnetChannelValueDate(structType any) BACnetChannelValueDate {
if casted, ok := structType.(BACnetChannelValueDate); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go
index 0ea0533ea4..7c48b4ca72 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueDouble(doubleValue BACnetApplicationTagDouble, peekedT
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueDouble(structType interface{}) BACnetChannelValueDouble {
+func CastBACnetChannelValueDouble(structType any) BACnetChannelValueDouble {
if casted, ok := structType.(BACnetChannelValueDouble); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go
index 6d3eaae93d..c8e5de2a5e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueEnumerated(enumeratedValue BACnetApplicationTagEnumera
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueEnumerated(structType interface{}) BACnetChannelValueEnumerated {
+func CastBACnetChannelValueEnumerated(structType any) BACnetChannelValueEnumerated {
if casted, ok := structType.(BACnetChannelValueEnumerated); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go
index d6faf5c790..103e893329 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueInteger(integerValue BACnetApplicationTagSignedInteger
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueInteger(structType interface{}) BACnetChannelValueInteger {
+func CastBACnetChannelValueInteger(structType any) BACnetChannelValueInteger {
if casted, ok := structType.(BACnetChannelValueInteger); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go
index 7360bdcc18..f20c3d7f15 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueLightingCommand(ligthingCommandValue BACnetLightingCom
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueLightingCommand(structType interface{}) BACnetChannelValueLightingCommand {
+func CastBACnetChannelValueLightingCommand(structType any) BACnetChannelValueLightingCommand {
if casted, ok := structType.(BACnetChannelValueLightingCommand); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go
index bd5b0b3a3e..7f338e622f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueNull(nullValue BACnetApplicationTagNull, peekedTagHead
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueNull(structType interface{}) BACnetChannelValueNull {
+func CastBACnetChannelValueNull(structType any) BACnetChannelValueNull {
if casted, ok := structType.(BACnetChannelValueNull); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go
index f825ca134b..cdaf4e3c8f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueObjectidentifier(objectidentifierValue BACnetApplicati
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueObjectidentifier(structType interface{}) BACnetChannelValueObjectidentifier {
+func CastBACnetChannelValueObjectidentifier(structType any) BACnetChannelValueObjectidentifier {
if casted, ok := structType.(BACnetChannelValueObjectidentifier); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go
index 0224cfc67b..9bd78b096f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueOctetString(octetStringValue BACnetApplicationTagOctet
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueOctetString(structType interface{}) BACnetChannelValueOctetString {
+func CastBACnetChannelValueOctetString(structType any) BACnetChannelValueOctetString {
if casted, ok := structType.(BACnetChannelValueOctetString); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go
index 648eed5a4d..cf9ad2dbff 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueReal(realValue BACnetApplicationTagReal, peekedTagHead
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueReal(structType interface{}) BACnetChannelValueReal {
+func CastBACnetChannelValueReal(structType any) BACnetChannelValueReal {
if casted, ok := structType.(BACnetChannelValueReal); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go
index c85673fd9e..5ecb925ae6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueTime(timeValue BACnetApplicationTagTime, peekedTagHead
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueTime(structType interface{}) BACnetChannelValueTime {
+func CastBACnetChannelValueTime(structType any) BACnetChannelValueTime {
if casted, ok := structType.(BACnetChannelValueTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go
index d7b46ce72a..135d3798b8 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go
@@ -94,7 +94,7 @@ func NewBACnetChannelValueUnsigned(unsignedValue BACnetApplicationTagUnsignedInt
}
// Deprecated: use the interface for direct cast
-func CastBACnetChannelValueUnsigned(structType interface{}) BACnetChannelValueUnsigned {
+func CastBACnetChannelValueUnsigned(structType any) BACnetChannelValueUnsigned {
if casted, ok := structType.(BACnetChannelValueUnsigned); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCharacterEncoding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCharacterEncoding.go
index ee3cc0b0a0..8dbf828642 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCharacterEncoding.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCharacterEncoding.go
@@ -105,8 +105,8 @@ func BACnetCharacterEncodingKnows(value byte) bool {
return false
}
-func CastBACnetCharacterEncoding(structType interface{}) BACnetCharacterEncoding {
- castFunc := func(typ interface{}) BACnetCharacterEncoding {
+func CastBACnetCharacterEncoding(structType any) BACnetCharacterEncoding {
+ castFunc := func(typ any) BACnetCharacterEncoding {
if sBACnetCharacterEncoding, ok := typ.(BACnetCharacterEncoding); ok {
return sBACnetCharacterEncoding
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go
index 2129b5dece..d1497f958b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go
@@ -107,7 +107,7 @@ func NewBACnetClientCOV(peekedTagHeader BACnetTagHeader) *_BACnetClientCOV {
}
// Deprecated: use the interface for direct cast
-func CastBACnetClientCOV(structType interface{}) BACnetClientCOV {
+func CastBACnetClientCOV(structType any) BACnetClientCOV {
if casted, ok := structType.(BACnetClientCOV); ok {
return casted
}
@@ -165,7 +165,7 @@ func BACnetClientCOVParseWithBuffer(ctx context.Context, readBuffer utils.ReadBu
InitializeParent(BACnetClientCOV, BACnetTagHeader)
GetParent() BACnetClientCOV
}
- var _childTemp interface{}
+ var _childTemp any
var _child BACnetClientCOVChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go
index 598d86960a..431b24404a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go
@@ -94,7 +94,7 @@ func NewBACnetClientCOVNone(defaultIncrement BACnetApplicationTagNull, peekedTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetClientCOVNone(structType interface{}) BACnetClientCOVNone {
+func CastBACnetClientCOVNone(structType any) BACnetClientCOVNone {
if casted, ok := structType.(BACnetClientCOVNone); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go
index 069d3a7fc3..ab0840e7d7 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go
@@ -94,7 +94,7 @@ func NewBACnetClientCOVObject(realIncrement BACnetApplicationTagReal, peekedTagH
}
// Deprecated: use the interface for direct cast
-func CastBACnetClientCOVObject(structType interface{}) BACnetClientCOVObject {
+func CastBACnetClientCOVObject(structType any) BACnetClientCOVObject {
if casted, ok := structType.(BACnetClientCOVObject); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClosingTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClosingTag.go
index 4b952041ef..e7f16a61bd 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClosingTag.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClosingTag.go
@@ -72,7 +72,7 @@ func NewBACnetClosingTag(header BACnetTagHeader, tagNumberArgument uint8) *_BACn
}
// Deprecated: use the interface for direct cast
-func CastBACnetClosingTag(structType interface{}) BACnetClosingTag {
+func CastBACnetClosingTag(structType any) BACnetClosingTag {
if casted, ok := structType.(BACnetClosingTag); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceChoice.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceChoice.go
index 92f2bfa671..de79d686ea 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceChoice.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceChoice.go
@@ -261,8 +261,8 @@ func BACnetConfirmedServiceChoiceKnows(value uint8) bool {
return false
}
-func CastBACnetConfirmedServiceChoice(structType interface{}) BACnetConfirmedServiceChoice {
- castFunc := func(typ interface{}) BACnetConfirmedServiceChoice {
+func CastBACnetConfirmedServiceChoice(structType any) BACnetConfirmedServiceChoice {
+ castFunc := func(typ any) BACnetConfirmedServiceChoice {
if sBACnetConfirmedServiceChoice, ok := typ.(BACnetConfirmedServiceChoice); ok {
return sBACnetConfirmedServiceChoice
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go
index 597433da5b..09de4fc970 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go
@@ -82,7 +82,7 @@ type BACnetConfirmedServiceRequestChild interface {
func (m *_BACnetConfirmedServiceRequest) GetServiceRequestPayloadLength() uint32 {
ctx := context.Background()
_ = ctx
- return uint32(utils.InlineIf((bool((m.ServiceRequestLength) > (0))), func() interface{} { return uint32((uint32(m.ServiceRequestLength) - uint32(uint32(1)))) }, func() interface{} { return uint32(uint32(0)) }).(uint32))
+ return uint32(utils.InlineIf((bool((m.ServiceRequestLength) > (0))), func() any { return uint32((uint32(m.ServiceRequestLength) - uint32(uint32(1)))) }, func() any { return uint32(uint32(0)) }).(uint32))
}
///////////////////////
@@ -96,7 +96,7 @@ func NewBACnetConfirmedServiceRequest(serviceRequestLength uint32) *_BACnetConfi
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequest(structType interface{}) BACnetConfirmedServiceRequest {
+func CastBACnetConfirmedServiceRequest(structType any) BACnetConfirmedServiceRequest {
if casted, ok := structType.(BACnetConfirmedServiceRequest); ok {
return casted
}
@@ -151,7 +151,7 @@ func BACnetConfirmedServiceRequestParseWithBuffer(ctx context.Context, readBuffe
}
// Virtual field
- _serviceRequestPayloadLength := utils.InlineIf((bool((serviceRequestLength) > (0))), func() interface{} { return uint32((uint32(serviceRequestLength) - uint32(uint32(1)))) }, func() interface{} { return uint32(uint32(0)) }).(uint32)
+ _serviceRequestPayloadLength := utils.InlineIf((bool((serviceRequestLength) > (0))), func() any { return uint32((uint32(serviceRequestLength) - uint32(uint32(1)))) }, func() any { return uint32(uint32(0)) }).(uint32)
serviceRequestPayloadLength := uint32(_serviceRequestPayloadLength)
_ = serviceRequestPayloadLength
@@ -161,7 +161,7 @@ func BACnetConfirmedServiceRequestParseWithBuffer(ctx context.Context, readBuffe
InitializeParent(BACnetConfirmedServiceRequest)
GetParent() BACnetConfirmedServiceRequest
}
- var _childTemp interface{}
+ var _childTemp any
var _child BACnetConfirmedServiceRequestChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go
index 8552288169..b460573515 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go
@@ -137,7 +137,7 @@ func NewBACnetConfirmedServiceRequestAcknowledgeAlarm(acknowledgingProcessIdenti
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestAcknowledgeAlarm(structType interface{}) BACnetConfirmedServiceRequestAcknowledgeAlarm {
+func CastBACnetConfirmedServiceRequestAcknowledgeAlarm(structType any) BACnetConfirmedServiceRequestAcknowledgeAlarm {
if casted, ok := structType.(BACnetConfirmedServiceRequestAcknowledgeAlarm); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go
index 9eb5afaa51..177fdaa4c8 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go
@@ -122,7 +122,7 @@ func NewBACnetConfirmedServiceRequestAddListElement(objectIdentifier BACnetConte
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestAddListElement(structType interface{}) BACnetConfirmedServiceRequestAddListElement {
+func CastBACnetConfirmedServiceRequestAddListElement(structType any) BACnetConfirmedServiceRequestAddListElement {
if casted, ok := structType.(BACnetConfirmedServiceRequestAddListElement); ok {
return casted
}
@@ -230,7 +230,7 @@ func BACnetConfirmedServiceRequestAddListElementParseWithBuffer(ctx context.Cont
if pullErr := readBuffer.PullContext("listOfElements"); pullErr != nil {
return nil, errors.Wrap(pullErr, "Error pulling for listOfElements")
}
- _val, _err := BACnetConstructedDataParseWithBuffer(ctx, readBuffer, uint8(3), objectIdentifier.GetObjectType(), propertyIdentifier.GetValue(), (CastBACnetTagPayloadUnsignedInteger(utils.InlineIf(bool((arrayIndex) != (nil)), func() interface{} { return CastBACnetTagPayloadUnsignedInteger((arrayIndex).GetPayload()) }, func() interface{} { return CastBACnetTagPayloadUnsignedInteger(nil) }))))
+ _val, _err := BACnetConstructedDataParseWithBuffer(ctx, readBuffer, uint8(3), objectIdentifier.GetObjectType(), propertyIdentifier.GetValue(), (CastBACnetTagPayloadUnsignedInteger(utils.InlineIf(bool((arrayIndex) != (nil)), func() any { return CastBACnetTagPayloadUnsignedInteger((arrayIndex).GetPayload()) }, func() any { return CastBACnetTagPayloadUnsignedInteger(nil) }))))
switch {
case errors.Is(_err, utils.ParseAssertError{}) || errors.Is(_err, io.EOF):
Plc4xModelLog.Debug().Err(_err).Msg("Resetting position because optional threw an error")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go
index efe20f3f1e..ae3f0ba561 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go
@@ -105,7 +105,7 @@ func NewBACnetConfirmedServiceRequestAtomicReadFile(fileIdentifier BACnetApplica
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestAtomicReadFile(structType interface{}) BACnetConfirmedServiceRequestAtomicReadFile {
+func CastBACnetConfirmedServiceRequestAtomicReadFile(structType any) BACnetConfirmedServiceRequestAtomicReadFile {
if casted, ok := structType.(BACnetConfirmedServiceRequestAtomicReadFile); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go
index 138010a571..a22f2e287e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go
@@ -104,7 +104,7 @@ func NewBACnetConfirmedServiceRequestAtomicReadFileRecord(fileStartRecord BACnet
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestAtomicReadFileRecord(structType interface{}) BACnetConfirmedServiceRequestAtomicReadFileRecord {
+func CastBACnetConfirmedServiceRequestAtomicReadFileRecord(structType any) BACnetConfirmedServiceRequestAtomicReadFileRecord {
if casted, ok := structType.(BACnetConfirmedServiceRequestAtomicReadFileRecord); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go
index 2b7c3c6ebd..b45c669e1d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go
@@ -104,7 +104,7 @@ func NewBACnetConfirmedServiceRequestAtomicReadFileStream(fileStartPosition BACn
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestAtomicReadFileStream(structType interface{}) BACnetConfirmedServiceRequestAtomicReadFileStream {
+func CastBACnetConfirmedServiceRequestAtomicReadFileStream(structType any) BACnetConfirmedServiceRequestAtomicReadFileStream {
if casted, ok := structType.(BACnetConfirmedServiceRequestAtomicReadFileStream); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go
index fe0f933285..28d167750e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go
@@ -121,7 +121,7 @@ func NewBACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord(peekedTagHeade
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord(structType interface{}) BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord {
+func CastBACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord(structType any) BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord {
if casted, ok := structType.(BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord); ok {
return casted
}
@@ -198,7 +198,7 @@ func BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordParseWithBuffer(ct
InitializeParent(BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord, BACnetTagHeader, BACnetOpeningTag, BACnetClosingTag)
GetParent() BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord
}
- var _childTemp interface{}
+ var _childTemp any
var _child BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go
index 5fd3152cb6..bf3fc9e47d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go
@@ -130,7 +130,7 @@ func NewBACnetConfirmedServiceRequestAtomicWriteFile(deviceIdentifier BACnetAppl
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestAtomicWriteFile(structType interface{}) BACnetConfirmedServiceRequestAtomicWriteFile {
+func CastBACnetConfirmedServiceRequestAtomicWriteFile(structType any) BACnetConfirmedServiceRequestAtomicWriteFile {
if casted, ok := structType.(BACnetConfirmedServiceRequestAtomicWriteFile); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go
index 9dd56c29a5..d92950444d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go
@@ -100,7 +100,7 @@ func NewBACnetConfirmedServiceRequestAuthenticate(bytesOfRemovedService []byte,
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestAuthenticate(structType interface{}) BACnetConfirmedServiceRequestAuthenticate {
+func CastBACnetConfirmedServiceRequestAuthenticate(structType any) BACnetConfirmedServiceRequestAuthenticate {
if casted, ok := structType.(BACnetConfirmedServiceRequestAuthenticate); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go
index 7f6e439155..bd54318ff1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go
@@ -129,7 +129,7 @@ func NewBACnetConfirmedServiceRequestConfirmedCOVNotification(subscriberProcessI
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestConfirmedCOVNotification(structType interface{}) BACnetConfirmedServiceRequestConfirmedCOVNotification {
+func CastBACnetConfirmedServiceRequestConfirmedCOVNotification(structType any) BACnetConfirmedServiceRequestConfirmedCOVNotification {
if casted, ok := structType.(BACnetConfirmedServiceRequestConfirmedCOVNotification); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go
index 75e86db812..cb42006a8f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go
@@ -130,7 +130,7 @@ func NewBACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple(subscriber
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple(structType interface{}) BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple {
+func CastBACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple(structType any) BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple {
if casted, ok := structType.(BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go
index e6006f5796..1deb833cd6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go
@@ -194,7 +194,7 @@ func NewBACnetConfirmedServiceRequestConfirmedEventNotification(processIdentifie
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestConfirmedEventNotification(structType interface{}) BACnetConfirmedServiceRequestConfirmedEventNotification {
+func CastBACnetConfirmedServiceRequestConfirmedEventNotification(structType any) BACnetConfirmedServiceRequestConfirmedEventNotification {
if casted, ok := structType.(BACnetConfirmedServiceRequestConfirmedEventNotification); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go
index e782880572..8afab4b646 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go
@@ -114,7 +114,7 @@ func NewBACnetConfirmedServiceRequestConfirmedPrivateTransfer(vendorId BACnetVen
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestConfirmedPrivateTransfer(structType interface{}) BACnetConfirmedServiceRequestConfirmedPrivateTransfer {
+func CastBACnetConfirmedServiceRequestConfirmedPrivateTransfer(structType any) BACnetConfirmedServiceRequestConfirmedPrivateTransfer {
if casted, ok := structType.(BACnetConfirmedServiceRequestConfirmedPrivateTransfer); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go
index ef00b43d61..a91f8d4951 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go
@@ -122,7 +122,7 @@ func NewBACnetConfirmedServiceRequestConfirmedTextMessage(textMessageSourceDevic
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestConfirmedTextMessage(structType interface{}) BACnetConfirmedServiceRequestConfirmedTextMessage {
+func CastBACnetConfirmedServiceRequestConfirmedTextMessage(structType any) BACnetConfirmedServiceRequestConfirmedTextMessage {
if casted, ok := structType.(BACnetConfirmedServiceRequestConfirmedTextMessage); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go
index 8052eb473a..47cf7c10f2 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go
@@ -124,7 +124,7 @@ func NewBACnetConfirmedServiceRequestConfirmedTextMessageMessageClass(openingTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestConfirmedTextMessageMessageClass(structType interface{}) BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass {
+func CastBACnetConfirmedServiceRequestConfirmedTextMessageMessageClass(structType any) BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass {
if casted, ok := structType.(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass); ok {
return casted
}
@@ -201,7 +201,7 @@ func BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassParseWithBuffe
InitializeParent(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass, BACnetOpeningTag, BACnetTagHeader, BACnetClosingTag)
GetParent() BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass
}
- var _childTemp interface{}
+ var _childTemp any
var _child BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go
index a68c8f3b8a..9ac108846e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go
@@ -96,7 +96,7 @@ func NewBACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter(c
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter(structType interface{}) BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter {
+func CastBACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter(structType any) BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter {
if casted, ok := structType.(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go
index 0359b32207..182563b33b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go
@@ -96,7 +96,7 @@ func NewBACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric(num
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric(structType interface{}) BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric {
+func CastBACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric(structType any) BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric {
if casted, ok := structType.(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority.go
index da9c57e1aa..89c89a3caf 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority.go
@@ -81,8 +81,8 @@ func BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityKnows(value
return false
}
-func CastBACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority(structType interface{}) BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority {
- castFunc := func(typ interface{}) BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority {
+func CastBACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority(structType any) BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority {
+ castFunc := func(typ any) BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority {
if sBACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority, ok := typ.(BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority); ok {
return sBACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged.go
index fa2aeb83c3..6d63c515a6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged.go
@@ -80,7 +80,7 @@ func NewBACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged(h
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged(structType interface{}) BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged {
+func CastBACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged(structType any) BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged {
if casted, ok := structType.(BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go
index d82bb9e115..564037770f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go
@@ -106,7 +106,7 @@ func NewBACnetConfirmedServiceRequestCreateObject(objectSpecifier BACnetConfirme
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestCreateObject(structType interface{}) BACnetConfirmedServiceRequestCreateObject {
+func CastBACnetConfirmedServiceRequestCreateObject(structType any) BACnetConfirmedServiceRequestCreateObject {
if casted, ok := structType.(BACnetConfirmedServiceRequestCreateObject); ok {
return casted
}
@@ -171,7 +171,7 @@ func BACnetConfirmedServiceRequestCreateObjectParseWithBuffer(ctx context.Contex
if pullErr := readBuffer.PullContext("listOfValues"); pullErr != nil {
return nil, errors.Wrap(pullErr, "Error pulling for listOfValues")
}
- _val, _err := BACnetPropertyValuesParseWithBuffer(ctx, readBuffer, uint8(1), CastBACnetObjectType(utils.InlineIf(objectSpecifier.GetIsObjectType(), func() interface{} { return CastBACnetObjectType(objectSpecifier.GetObjectType()) }, func() interface{} { return CastBACnetObjectType(objectSpecifier.GetObjectIdentifier().GetObjectType()) })))
+ _val, _err := BACnetPropertyValuesParseWithBuffer(ctx, readBuffer, uint8(1), CastBACnetObjectType(utils.InlineIf(objectSpecifier.GetIsObjectType(), func() any { return CastBACnetObjectType(objectSpecifier.GetObjectType()) }, func() any { return CastBACnetObjectType(objectSpecifier.GetObjectIdentifier().GetObjectType()) })))
switch {
case errors.Is(_err, utils.ParseAssertError{}) || errors.Is(_err, io.EOF):
Plc4xModelLog.Debug().Err(_err).Msg("Resetting position because optional threw an error")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObjectObjectSpecifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObjectObjectSpecifier.go
index d1b3a9c701..de0d64f819 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObjectObjectSpecifier.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObjectObjectSpecifier.go
@@ -139,7 +139,7 @@ func NewBACnetConfirmedServiceRequestCreateObjectObjectSpecifier(openingTag BACn
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestCreateObjectObjectSpecifier(structType interface{}) BACnetConfirmedServiceRequestCreateObjectObjectSpecifier {
+func CastBACnetConfirmedServiceRequestCreateObjectObjectSpecifier(structType any) BACnetConfirmedServiceRequestCreateObjectObjectSpecifier {
if casted, ok := structType.(BACnetConfirmedServiceRequestCreateObjectObjectSpecifier); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go
index 90e37e2fbf..91919c4a6f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go
@@ -97,7 +97,7 @@ func NewBACnetConfirmedServiceRequestDeleteObject(objectIdentifier BACnetApplica
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestDeleteObject(structType interface{}) BACnetConfirmedServiceRequestDeleteObject {
+func CastBACnetConfirmedServiceRequestDeleteObject(structType any) BACnetConfirmedServiceRequestDeleteObject {
if casted, ok := structType.(BACnetConfirmedServiceRequestDeleteObject); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go
index 526224e8c4..35ae39c44b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go
@@ -114,7 +114,7 @@ func NewBACnetConfirmedServiceRequestDeviceCommunicationControl(timeDuration BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestDeviceCommunicationControl(structType interface{}) BACnetConfirmedServiceRequestDeviceCommunicationControl {
+func CastBACnetConfirmedServiceRequestDeviceCommunicationControl(structType any) BACnetConfirmedServiceRequestDeviceCommunicationControl {
if casted, ok := structType.(BACnetConfirmedServiceRequestDeviceCommunicationControl); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable.go
index da8c3b1f7a..1583b661b6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable.go
@@ -87,8 +87,8 @@ func BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableKnows(v
return false
}
-func CastBACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable(structType interface{}) BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable {
- castFunc := func(typ interface{}) BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable {
+func CastBACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable(structType any) BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable {
+ castFunc := func(typ any) BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable {
if sBACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable, ok := typ.(BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable); ok {
return sBACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged.go
index 9a529446e2..1dfc738eb1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged.go
@@ -80,7 +80,7 @@ func NewBACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagg
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged(structType interface{}) BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged {
+func CastBACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged(structType any) BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged {
if casted, ok := structType.(BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go
index b6f559403f..1c193e2760 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go
@@ -138,7 +138,7 @@ func NewBACnetConfirmedServiceRequestGetEnrollmentSummary(acknowledgmentFilter B
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestGetEnrollmentSummary(structType interface{}) BACnetConfirmedServiceRequestGetEnrollmentSummary {
+func CastBACnetConfirmedServiceRequestGetEnrollmentSummary(structType any) BACnetConfirmedServiceRequestGetEnrollmentSummary {
if casted, ok := structType.(BACnetConfirmedServiceRequestGetEnrollmentSummary); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter.go
index 527e378dce..a3ff00f497 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter.go
@@ -87,8 +87,8 @@ func BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterKnows
return false
}
-func CastBACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter(structType interface{}) BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter {
- castFunc := func(typ interface{}) BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter {
+func CastBACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter(structType any) BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter {
+ castFunc := func(typ any) BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter {
if sBACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter, ok := typ.(BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter); ok {
return sBACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged.go
index 00425205a5..8c636ae841 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged.go
@@ -80,7 +80,7 @@ func NewBACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged(structType interface{}) BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged {
+func CastBACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged(structType any) BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged {
if casted, ok := structType.(BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter.go
index 32b6e2a1ea..6733d37063 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter.go
@@ -99,8 +99,8 @@ func BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterKnows(valu
return false
}
-func CastBACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter(structType interface{}) BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter {
- castFunc := func(typ interface{}) BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter {
+func CastBACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter(structType any) BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter {
+ castFunc := func(typ any) BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter {
if sBACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter, ok := typ.(BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter); ok {
return sBACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged.go
index 886a72e865..39520df8d0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged.go
@@ -80,7 +80,7 @@ func NewBACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged(
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged(structType interface{}) BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged {
+func CastBACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged(structType any) BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged {
if casted, ok := structType.(BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter.go
index d339fa84cb..0a6952232e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter.go
@@ -93,7 +93,7 @@ func NewBACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter(openingT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter(structType interface{}) BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter {
+func CastBACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter(structType any) BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter {
if casted, ok := structType.(BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go
index 0e40e2dd30..a180e89066 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go
@@ -98,7 +98,7 @@ func NewBACnetConfirmedServiceRequestGetEventInformation(lastReceivedObjectIdent
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestGetEventInformation(structType interface{}) BACnetConfirmedServiceRequestGetEventInformation {
+func CastBACnetConfirmedServiceRequestGetEventInformation(structType any) BACnetConfirmedServiceRequestGetEventInformation {
if casted, ok := structType.(BACnetConfirmedServiceRequestGetEventInformation); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go
index 7f4369eb37..1ad7d8e068 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go
@@ -122,7 +122,7 @@ func NewBACnetConfirmedServiceRequestLifeSafetyOperation(requestingProcessIdenti
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestLifeSafetyOperation(structType interface{}) BACnetConfirmedServiceRequestLifeSafetyOperation {
+func CastBACnetConfirmedServiceRequestLifeSafetyOperation(structType any) BACnetConfirmedServiceRequestLifeSafetyOperation {
if casted, ok := structType.(BACnetConfirmedServiceRequestLifeSafetyOperation); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go
index 7f93bd889b..76297c4766 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go
@@ -114,7 +114,7 @@ func NewBACnetConfirmedServiceRequestReadProperty(objectIdentifier BACnetContext
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestReadProperty(structType interface{}) BACnetConfirmedServiceRequestReadProperty {
+func CastBACnetConfirmedServiceRequestReadProperty(structType any) BACnetConfirmedServiceRequestReadProperty {
if casted, ok := structType.(BACnetConfirmedServiceRequestReadProperty); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go
index f817695c2a..b9dd7c801b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go
@@ -100,7 +100,7 @@ func NewBACnetConfirmedServiceRequestReadPropertyConditional(bytesOfRemovedServi
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestReadPropertyConditional(structType interface{}) BACnetConfirmedServiceRequestReadPropertyConditional {
+func CastBACnetConfirmedServiceRequestReadPropertyConditional(structType any) BACnetConfirmedServiceRequestReadPropertyConditional {
if casted, ok := structType.(BACnetConfirmedServiceRequestReadPropertyConditional); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go
index e124a1f3b6..1bb07f7781 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go
@@ -100,7 +100,7 @@ func NewBACnetConfirmedServiceRequestReadPropertyMultiple(data []BACnetReadAcces
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestReadPropertyMultiple(structType interface{}) BACnetConfirmedServiceRequestReadPropertyMultiple {
+func CastBACnetConfirmedServiceRequestReadPropertyMultiple(structType any) BACnetConfirmedServiceRequestReadPropertyMultiple {
if casted, ok := structType.(BACnetConfirmedServiceRequestReadPropertyMultiple); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go
index d3fd93d4e1..b3c9fbbb8b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go
@@ -122,7 +122,7 @@ func NewBACnetConfirmedServiceRequestReadRange(objectIdentifier BACnetContextTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestReadRange(structType interface{}) BACnetConfirmedServiceRequestReadRange {
+func CastBACnetConfirmedServiceRequestReadRange(structType any) BACnetConfirmedServiceRequestReadRange {
if casted, ok := structType.(BACnetConfirmedServiceRequestReadRange); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go
index 5d3bf97919..f6f6528562 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go
@@ -121,7 +121,7 @@ func NewBACnetConfirmedServiceRequestReadRangeRange(peekedTagHeader BACnetTagHea
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestReadRangeRange(structType interface{}) BACnetConfirmedServiceRequestReadRangeRange {
+func CastBACnetConfirmedServiceRequestReadRangeRange(structType any) BACnetConfirmedServiceRequestReadRangeRange {
if casted, ok := structType.(BACnetConfirmedServiceRequestReadRangeRange); ok {
return casted
}
@@ -198,7 +198,7 @@ func BACnetConfirmedServiceRequestReadRangeRangeParseWithBuffer(ctx context.Cont
InitializeParent(BACnetConfirmedServiceRequestReadRangeRange, BACnetTagHeader, BACnetOpeningTag, BACnetClosingTag)
GetParent() BACnetConfirmedServiceRequestReadRangeRange
}
- var _childTemp interface{}
+ var _childTemp any
var _child BACnetConfirmedServiceRequestReadRangeRangeChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go
index ef0e3747f9..77dad0ded9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go
@@ -104,7 +104,7 @@ func NewBACnetConfirmedServiceRequestReadRangeRangeByPosition(referenceIndex BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestReadRangeRangeByPosition(structType interface{}) BACnetConfirmedServiceRequestReadRangeRangeByPosition {
+func CastBACnetConfirmedServiceRequestReadRangeRangeByPosition(structType any) BACnetConfirmedServiceRequestReadRangeRangeByPosition {
if casted, ok := structType.(BACnetConfirmedServiceRequestReadRangeRangeByPosition); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go
index 2136328a14..df47f67296 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go
@@ -104,7 +104,7 @@ func NewBACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber(referenceSeq
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber(structType interface{}) BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber {
+func CastBACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber(structType any) BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber {
if casted, ok := structType.(BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go
index f3a75b2716..b748f5ce29 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go
@@ -104,7 +104,7 @@ func NewBACnetConfirmedServiceRequestReadRangeRangeByTime(referenceTime BACnetDa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestReadRangeRangeByTime(structType interface{}) BACnetConfirmedServiceRequestReadRangeRangeByTime {
+func CastBACnetConfirmedServiceRequestReadRangeRangeByTime(structType any) BACnetConfirmedServiceRequestReadRangeRangeByTime {
if casted, ok := structType.(BACnetConfirmedServiceRequestReadRangeRangeByTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go
index 2e3115a071..5ec2bfa8c0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go
@@ -106,7 +106,7 @@ func NewBACnetConfirmedServiceRequestReinitializeDevice(reinitializedStateOfDevi
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestReinitializeDevice(structType interface{}) BACnetConfirmedServiceRequestReinitializeDevice {
+func CastBACnetConfirmedServiceRequestReinitializeDevice(structType any) BACnetConfirmedServiceRequestReinitializeDevice {
if casted, ok := structType.(BACnetConfirmedServiceRequestReinitializeDevice); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice.go
index c430c85488..11ec4eba5e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice.go
@@ -123,8 +123,8 @@ func BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceKn
return false
}
-func CastBACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice(structType interface{}) BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice {
- castFunc := func(typ interface{}) BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice {
+func CastBACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice(structType any) BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice {
+ castFunc := func(typ any) BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice {
if sBACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice, ok := typ.(BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice); ok {
return sBACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged.go
index f1a04ba4ff..86ce6f55ad 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged.go
@@ -80,7 +80,7 @@ func NewBACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevic
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged(structType interface{}) BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged {
+func CastBACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged(structType any) BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged {
if casted, ok := structType.(BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go
index 03b43517f5..144faf1c99 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go
@@ -122,7 +122,7 @@ func NewBACnetConfirmedServiceRequestRemoveListElement(objectIdentifier BACnetCo
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestRemoveListElement(structType interface{}) BACnetConfirmedServiceRequestRemoveListElement {
+func CastBACnetConfirmedServiceRequestRemoveListElement(structType any) BACnetConfirmedServiceRequestRemoveListElement {
if casted, ok := structType.(BACnetConfirmedServiceRequestRemoveListElement); ok {
return casted
}
@@ -230,7 +230,7 @@ func BACnetConfirmedServiceRequestRemoveListElementParseWithBuffer(ctx context.C
if pullErr := readBuffer.PullContext("listOfElements"); pullErr != nil {
return nil, errors.Wrap(pullErr, "Error pulling for listOfElements")
}
- _val, _err := BACnetConstructedDataParseWithBuffer(ctx, readBuffer, uint8(3), objectIdentifier.GetObjectType(), propertyIdentifier.GetValue(), (CastBACnetTagPayloadUnsignedInteger(utils.InlineIf(bool((arrayIndex) != (nil)), func() interface{} { return CastBACnetTagPayloadUnsignedInteger((arrayIndex).GetPayload()) }, func() interface{} { return CastBACnetTagPayloadUnsignedInteger(nil) }))))
+ _val, _err := BACnetConstructedDataParseWithBuffer(ctx, readBuffer, uint8(3), objectIdentifier.GetObjectType(), propertyIdentifier.GetValue(), (CastBACnetTagPayloadUnsignedInteger(utils.InlineIf(bool((arrayIndex) != (nil)), func() any { return CastBACnetTagPayloadUnsignedInteger((arrayIndex).GetPayload()) }, func() any { return CastBACnetTagPayloadUnsignedInteger(nil) }))))
switch {
case errors.Is(_err, utils.ParseAssertError{}) || errors.Is(_err, io.EOF):
Plc4xModelLog.Debug().Err(_err).Msg("Resetting position because optional threw an error")
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go
index 88db3d032c..804a860a92 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go
@@ -100,7 +100,7 @@ func NewBACnetConfirmedServiceRequestRequestKey(bytesOfRemovedService []byte, se
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestRequestKey(structType interface{}) BACnetConfirmedServiceRequestRequestKey {
+func CastBACnetConfirmedServiceRequestRequestKey(structType any) BACnetConfirmedServiceRequestRequestKey {
if casted, ok := structType.(BACnetConfirmedServiceRequestRequestKey); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go
index feab26e31a..ba4b646bad 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go
@@ -122,7 +122,7 @@ func NewBACnetConfirmedServiceRequestSubscribeCOV(subscriberProcessIdentifier BA
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestSubscribeCOV(structType interface{}) BACnetConfirmedServiceRequestSubscribeCOV {
+func CastBACnetConfirmedServiceRequestSubscribeCOV(structType any) BACnetConfirmedServiceRequestSubscribeCOV {
if casted, ok := structType.(BACnetConfirmedServiceRequestSubscribeCOV); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go
index cf474535f3..1a88617796 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go
@@ -138,7 +138,7 @@ func NewBACnetConfirmedServiceRequestSubscribeCOVProperty(subscriberProcessIdent
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestSubscribeCOVProperty(structType interface{}) BACnetConfirmedServiceRequestSubscribeCOVProperty {
+func CastBACnetConfirmedServiceRequestSubscribeCOVProperty(structType any) BACnetConfirmedServiceRequestSubscribeCOVProperty {
if casted, ok := structType.(BACnetConfirmedServiceRequestSubscribeCOVProperty); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go
index 4b79ef1203..0b4d2d3dba 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go
@@ -130,7 +130,7 @@ func NewBACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple(subscriberProc
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple(structType interface{}) BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple {
+func CastBACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple(structType any) BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple {
if casted, ok := structType.(BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications.go
index 298a79850a..3bda023944 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications.go
@@ -90,7 +90,7 @@ func NewBACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscr
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications(structType interface{}) BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications {
+func CastBACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications(structType any) BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications {
if casted, ok := structType.(BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList.go
index 0f0c1b2679..902e64c9e0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList.go
@@ -86,7 +86,7 @@ func NewBACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscr
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList(structType interface{}) BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList {
+func CastBACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList(structType any) BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList {
if casted, ok := structType.(BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference.go
index 1fb21e2a3d..6b83c8b232 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference.go
@@ -84,7 +84,7 @@ func NewBACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscr
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference(structType interface{}) BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference {
+func CastBACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference(structType any) BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference {
if casted, ok := structType.(BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go
index 255ecafff8..5bc0b67c28 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go
@@ -100,7 +100,7 @@ func NewBACnetConfirmedServiceRequestUnknown(unknownBytes []byte, serviceRequest
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestUnknown(structType interface{}) BACnetConfirmedServiceRequestUnknown {
+func CastBACnetConfirmedServiceRequestUnknown(structType any) BACnetConfirmedServiceRequestUnknown {
if casted, ok := structType.(BACnetConfirmedServiceRequestUnknown); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go
index 060bb73b07..45b718ffb9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go
@@ -100,7 +100,7 @@ func NewBACnetConfirmedServiceRequestVTClose(listOfRemoteVtSessionIdentifiers []
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestVTClose(structType interface{}) BACnetConfirmedServiceRequestVTClose {
+func CastBACnetConfirmedServiceRequestVTClose(structType any) BACnetConfirmedServiceRequestVTClose {
if casted, ok := structType.(BACnetConfirmedServiceRequestVTClose); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go
index 0a5748f298..6a4d6f9636 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go
@@ -113,7 +113,7 @@ func NewBACnetConfirmedServiceRequestVTData(vtSessionIdentifier BACnetApplicatio
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestVTData(structType interface{}) BACnetConfirmedServiceRequestVTData {
+func CastBACnetConfirmedServiceRequestVTData(structType any) BACnetConfirmedServiceRequestVTData {
if casted, ok := structType.(BACnetConfirmedServiceRequestVTData); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go
index c64e1d75c7..7df26c72b7 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go
@@ -105,7 +105,7 @@ func NewBACnetConfirmedServiceRequestVTOpen(vtClass BACnetVTClassTagged, localVt
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestVTOpen(structType interface{}) BACnetConfirmedServiceRequestVTOpen {
+func CastBACnetConfirmedServiceRequestVTOpen(structType any) BACnetConfirmedServiceRequestVTOpen {
if casted, ok := structType.(BACnetConfirmedServiceRequestVTOpen); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go
index da74133bdd..0947e4323a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go
@@ -130,7 +130,7 @@ func NewBACnetConfirmedServiceRequestWriteProperty(objectIdentifier BACnetContex
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestWriteProperty(structType interface{}) BACnetConfirmedServiceRequestWriteProperty {
+func CastBACnetConfirmedServiceRequestWriteProperty(structType any) BACnetConfirmedServiceRequestWriteProperty {
if casted, ok := structType.(BACnetConfirmedServiceRequestWriteProperty); ok {
return casted
}
@@ -238,7 +238,7 @@ func BACnetConfirmedServiceRequestWritePropertyParseWithBuffer(ctx context.Conte
if pullErr := readBuffer.PullContext("propertyValue"); pullErr != nil {
return nil, errors.Wrap(pullErr, "Error pulling for propertyValue")
}
- _propertyValue, _propertyValueErr := BACnetConstructedDataParseWithBuffer(ctx, readBuffer, uint8(uint8(3)), BACnetObjectType(objectIdentifier.GetObjectType()), BACnetPropertyIdentifier(propertyIdentifier.GetValue()), (CastBACnetTagPayloadUnsignedInteger(utils.InlineIf(bool((arrayIndex) != (nil)), func() interface{} { return CastBACnetTagPayloadUnsignedInteger((arrayIndex).GetPayload()) }, func() interface{} { return CastBACnetTagPayloadUnsignedInteger(nil) }))))
+ _propertyValue, _propertyValueErr := BACnetConstructedDataParseWithBuffer(ctx, readBuffer, uint8(uint8(3)), BACnetObjectType(objectIdentifier.GetObjectType()), BACnetPropertyIdentifier(propertyIdentifier.GetValue()), (CastBACnetTagPayloadUnsignedInteger(utils.InlineIf(bool((arrayIndex) != (nil)), func() any { return CastBACnetTagPayloadUnsignedInteger((arrayIndex).GetPayload()) }, func() any { return CastBACnetTagPayloadUnsignedInteger(nil) }))))
if _propertyValueErr != nil {
return nil, errors.Wrap(_propertyValueErr, "Error parsing 'propertyValue' field of BACnetConfirmedServiceRequestWriteProperty")
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go
index 7e99d8ad25..7a34fbb84b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go
@@ -100,7 +100,7 @@ func NewBACnetConfirmedServiceRequestWritePropertyMultiple(data []BACnetWriteAcc
}
// Deprecated: use the interface for direct cast
-func CastBACnetConfirmedServiceRequestWritePropertyMultiple(structType interface{}) BACnetConfirmedServiceRequestWritePropertyMultiple {
+func CastBACnetConfirmedServiceRequestWritePropertyMultiple(structType any) BACnetConfirmedServiceRequestWritePropertyMultiple {
if casted, ok := structType.(BACnetConfirmedServiceRequestWritePropertyMultiple); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go
index 69f0803448..dcc5455c7e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go
@@ -131,7 +131,7 @@ func NewBACnetConstructedData(openingTag BACnetOpeningTag, peekedTagHeader BACne
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedData(structType interface{}) BACnetConstructedData {
+func CastBACnetConstructedData(structType any) BACnetConstructedData {
if casted, ok := structType.(BACnetConstructedData); ok {
return casted
}
@@ -208,7 +208,7 @@ func BACnetConstructedDataParseWithBuffer(ctx context.Context, readBuffer utils.
InitializeParent(BACnetConstructedData, BACnetOpeningTag, BACnetTagHeader, BACnetClosingTag)
GetParent() BACnetConstructedData
}
- var _childTemp interface{}
+ var _childTemp any
var _child BACnetConstructedDataChildSerializeRequirement
var typeSwitchError error
switch {
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go
index d59128f6ab..9245f231cc 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAPDULength(apduLength BACnetApplicationTagUnsignedI
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAPDULength(structType interface{}) BACnetConstructedDataAPDULength {
+func CastBACnetConstructedDataAPDULength(structType any) BACnetConstructedDataAPDULength {
if casted, ok := structType.(BACnetConstructedDataAPDULength); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go
index e1b3dfa70d..dfb473e390 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAPDUSegmentTimeout(apduSegmentTimeout BACnetApplica
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAPDUSegmentTimeout(structType interface{}) BACnetConstructedDataAPDUSegmentTimeout {
+func CastBACnetConstructedDataAPDUSegmentTimeout(structType any) BACnetConstructedDataAPDUSegmentTimeout {
if casted, ok := structType.(BACnetConstructedDataAPDUSegmentTimeout); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go
index 0d9362f083..e104a6da7e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAPDUTimeout(apduTimeout BACnetApplicationTagUnsigne
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAPDUTimeout(structType interface{}) BACnetConstructedDataAPDUTimeout {
+func CastBACnetConstructedDataAPDUTimeout(structType any) BACnetConstructedDataAPDUTimeout {
if casted, ok := structType.(BACnetConstructedDataAPDUTimeout); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go
index ed95fdf8e8..0669d901f1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAbsenteeLimit(absenteeLimit BACnetApplicationTagUns
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAbsenteeLimit(structType interface{}) BACnetConstructedDataAbsenteeLimit {
+func CastBACnetConstructedDataAbsenteeLimit(structType any) BACnetConstructedDataAbsenteeLimit {
if casted, ok := structType.(BACnetConstructedDataAbsenteeLimit); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go
index 11ede2d6bb..341292c47e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataAcceptedModes(acceptedModes []BACnetLifeSafetyModeT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAcceptedModes(structType interface{}) BACnetConstructedDataAcceptedModes {
+func CastBACnetConstructedDataAcceptedModes(structType any) BACnetConstructedDataAcceptedModes {
if casted, ok := structType.(BACnetConstructedDataAcceptedModes); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go
index ec373f7dd8..729a8f61fa 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataAccessAlarmEvents(accessAlarmEvents []BACnetAccessE
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessAlarmEvents(structType interface{}) BACnetConstructedDataAccessAlarmEvents {
+func CastBACnetConstructedDataAccessAlarmEvents(structType any) BACnetConstructedDataAccessAlarmEvents {
if casted, ok := structType.(BACnetConstructedDataAccessAlarmEvents); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go
index d811237354..21cf1d2e10 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAccessCredentialAll(openingTag BACnetOpeningTag, pe
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessCredentialAll(structType interface{}) BACnetConstructedDataAccessCredentialAll {
+func CastBACnetConstructedDataAccessCredentialAll(structType any) BACnetConstructedDataAccessCredentialAll {
if casted, ok := structType.(BACnetConstructedDataAccessCredentialAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go
index d8981c12a1..8a6545bd76 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataAccessDoorAlarmValues(alarmValues []BACnetDoorAlarm
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessDoorAlarmValues(structType interface{}) BACnetConstructedDataAccessDoorAlarmValues {
+func CastBACnetConstructedDataAccessDoorAlarmValues(structType any) BACnetConstructedDataAccessDoorAlarmValues {
if casted, ok := structType.(BACnetConstructedDataAccessDoorAlarmValues); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go
index dbf95a9554..dd9ffced04 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAccessDoorAll(openingTag BACnetOpeningTag, peekedTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessDoorAll(structType interface{}) BACnetConstructedDataAccessDoorAll {
+func CastBACnetConstructedDataAccessDoorAll(structType any) BACnetConstructedDataAccessDoorAll {
if casted, ok := structType.(BACnetConstructedDataAccessDoorAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go
index e57485d496..f2b3a8d6cb 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataAccessDoorFaultValues(faultValues []BACnetDoorAlarm
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessDoorFaultValues(structType interface{}) BACnetConstructedDataAccessDoorFaultValues {
+func CastBACnetConstructedDataAccessDoorFaultValues(structType any) BACnetConstructedDataAccessDoorFaultValues {
if casted, ok := structType.(BACnetConstructedDataAccessDoorFaultValues); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go
index c68e92fc76..d03053f54c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccessDoorPresentValue(presentValue BACnetDoorValue
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessDoorPresentValue(structType interface{}) BACnetConstructedDataAccessDoorPresentValue {
+func CastBACnetConstructedDataAccessDoorPresentValue(structType any) BACnetConstructedDataAccessDoorPresentValue {
if casted, ok := structType.(BACnetConstructedDataAccessDoorPresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go
index ef48555a6e..b1e4cc2170 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccessDoorRelinquishDefault(relinquishDefault BACne
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessDoorRelinquishDefault(structType interface{}) BACnetConstructedDataAccessDoorRelinquishDefault {
+func CastBACnetConstructedDataAccessDoorRelinquishDefault(structType any) BACnetConstructedDataAccessDoorRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataAccessDoorRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go
index db8b43d7a6..adfa12eb78 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataAccessDoors(numberOfDataElements BACnetApplicationT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessDoors(structType interface{}) BACnetConstructedDataAccessDoors {
+func CastBACnetConstructedDataAccessDoors(structType any) BACnetConstructedDataAccessDoors {
if casted, ok := structType.(BACnetConstructedDataAccessDoors); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go
index 123ff7420d..693ddebf0b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccessEvent(accessEvent BACnetAccessEventTagged, op
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessEvent(structType interface{}) BACnetConstructedDataAccessEvent {
+func CastBACnetConstructedDataAccessEvent(structType any) BACnetConstructedDataAccessEvent {
if casted, ok := structType.(BACnetConstructedDataAccessEvent); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go
index c5648c6671..9cb86278c2 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccessEventAuthenticationFactor(accessEventAuthenti
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessEventAuthenticationFactor(structType interface{}) BACnetConstructedDataAccessEventAuthenticationFactor {
+func CastBACnetConstructedDataAccessEventAuthenticationFactor(structType any) BACnetConstructedDataAccessEventAuthenticationFactor {
if casted, ok := structType.(BACnetConstructedDataAccessEventAuthenticationFactor); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go
index 38c73f562e..a8ef34cb8e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccessEventCredential(accessEventCredential BACnetD
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessEventCredential(structType interface{}) BACnetConstructedDataAccessEventCredential {
+func CastBACnetConstructedDataAccessEventCredential(structType any) BACnetConstructedDataAccessEventCredential {
if casted, ok := structType.(BACnetConstructedDataAccessEventCredential); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go
index f3e7607739..89ce6633a1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccessEventTag(accessEventTag BACnetApplicationTagU
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessEventTag(structType interface{}) BACnetConstructedDataAccessEventTag {
+func CastBACnetConstructedDataAccessEventTag(structType any) BACnetConstructedDataAccessEventTag {
if casted, ok := structType.(BACnetConstructedDataAccessEventTag); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go
index 5044a4f2c6..d37965d7b6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccessEventTime(accessEventTime BACnetTimeStamp, op
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessEventTime(structType interface{}) BACnetConstructedDataAccessEventTime {
+func CastBACnetConstructedDataAccessEventTime(structType any) BACnetConstructedDataAccessEventTime {
if casted, ok := structType.(BACnetConstructedDataAccessEventTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go
index bee28d4aa1..8875ff63a8 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAccessPointAll(openingTag BACnetOpeningTag, peekedT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessPointAll(structType interface{}) BACnetConstructedDataAccessPointAll {
+func CastBACnetConstructedDataAccessPointAll(structType any) BACnetConstructedDataAccessPointAll {
if casted, ok := structType.(BACnetConstructedDataAccessPointAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go
index 03881b407b..8a0dd08140 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAccessRightsAll(openingTag BACnetOpeningTag, peeked
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessRightsAll(structType interface{}) BACnetConstructedDataAccessRightsAll {
+func CastBACnetConstructedDataAccessRightsAll(structType any) BACnetConstructedDataAccessRightsAll {
if casted, ok := structType.(BACnetConstructedDataAccessRightsAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go
index f6fbab2f5c..c817e5d1c1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataAccessTransactionEvents(accessTransactionEvents []B
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessTransactionEvents(structType interface{}) BACnetConstructedDataAccessTransactionEvents {
+func CastBACnetConstructedDataAccessTransactionEvents(structType any) BACnetConstructedDataAccessTransactionEvents {
if casted, ok := structType.(BACnetConstructedDataAccessTransactionEvents); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go
index fc9daef92c..c4c9538a87 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAccessUserAll(openingTag BACnetOpeningTag, peekedTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessUserAll(structType interface{}) BACnetConstructedDataAccessUserAll {
+func CastBACnetConstructedDataAccessUserAll(structType any) BACnetConstructedDataAccessUserAll {
if casted, ok := structType.(BACnetConstructedDataAccessUserAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go
index 77b8c1919e..ee1f17da72 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccessZoneAdjustValue(adjustValue BACnetApplication
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessZoneAdjustValue(structType interface{}) BACnetConstructedDataAccessZoneAdjustValue {
+func CastBACnetConstructedDataAccessZoneAdjustValue(structType any) BACnetConstructedDataAccessZoneAdjustValue {
if casted, ok := structType.(BACnetConstructedDataAccessZoneAdjustValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go
index 769b37bf0c..8f3cea1d5d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataAccessZoneAlarmValues(alarmValues []BACnetAccessZon
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessZoneAlarmValues(structType interface{}) BACnetConstructedDataAccessZoneAlarmValues {
+func CastBACnetConstructedDataAccessZoneAlarmValues(structType any) BACnetConstructedDataAccessZoneAlarmValues {
if casted, ok := structType.(BACnetConstructedDataAccessZoneAlarmValues); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go
index 6ff272d571..f2d0587663 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAccessZoneAll(openingTag BACnetOpeningTag, peekedTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccessZoneAll(structType interface{}) BACnetConstructedDataAccessZoneAll {
+func CastBACnetConstructedDataAccessZoneAll(structType any) BACnetConstructedDataAccessZoneAll {
if casted, ok := structType.(BACnetConstructedDataAccessZoneAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go
index e3a23ea0fe..a39c5a1358 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccompaniment(accompaniment BACnetDeviceObjectRefer
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccompaniment(structType interface{}) BACnetConstructedDataAccompaniment {
+func CastBACnetConstructedDataAccompaniment(structType any) BACnetConstructedDataAccompaniment {
if casted, ok := structType.(BACnetConstructedDataAccompaniment); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go
index a233a4e42e..7eef2cc976 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccompanimentTime(accompanimentTime BACnetApplicati
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccompanimentTime(structType interface{}) BACnetConstructedDataAccompanimentTime {
+func CastBACnetConstructedDataAccompanimentTime(structType any) BACnetConstructedDataAccompanimentTime {
if casted, ok := structType.(BACnetConstructedDataAccompanimentTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go
index 9ea45cb789..a94c3d0adb 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAccumulatorAll(openingTag BACnetOpeningTag, peekedT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccumulatorAll(structType interface{}) BACnetConstructedDataAccumulatorAll {
+func CastBACnetConstructedDataAccumulatorAll(structType any) BACnetConstructedDataAccumulatorAll {
if casted, ok := structType.(BACnetConstructedDataAccumulatorAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go
index dba5a74f18..85fa95b45b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccumulatorFaultHighLimit(faultHighLimit BACnetAppl
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccumulatorFaultHighLimit(structType interface{}) BACnetConstructedDataAccumulatorFaultHighLimit {
+func CastBACnetConstructedDataAccumulatorFaultHighLimit(structType any) BACnetConstructedDataAccumulatorFaultHighLimit {
if casted, ok := structType.(BACnetConstructedDataAccumulatorFaultHighLimit); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go
index 2b50d1801c..536605c9ea 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccumulatorFaultLowLimit(faultLowLimit BACnetApplic
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccumulatorFaultLowLimit(structType interface{}) BACnetConstructedDataAccumulatorFaultLowLimit {
+func CastBACnetConstructedDataAccumulatorFaultLowLimit(structType any) BACnetConstructedDataAccumulatorFaultLowLimit {
if casted, ok := structType.(BACnetConstructedDataAccumulatorFaultLowLimit); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go
index 3de517d5a7..004365c03e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccumulatorHighLimit(highLimit BACnetApplicationTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccumulatorHighLimit(structType interface{}) BACnetConstructedDataAccumulatorHighLimit {
+func CastBACnetConstructedDataAccumulatorHighLimit(structType any) BACnetConstructedDataAccumulatorHighLimit {
if casted, ok := structType.(BACnetConstructedDataAccumulatorHighLimit); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go
index 3e5067482e..e862910918 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccumulatorLowLimit(lowLimit BACnetApplicationTagUn
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccumulatorLowLimit(structType interface{}) BACnetConstructedDataAccumulatorLowLimit {
+func CastBACnetConstructedDataAccumulatorLowLimit(structType any) BACnetConstructedDataAccumulatorLowLimit {
if casted, ok := structType.(BACnetConstructedDataAccumulatorLowLimit); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go
index d83860fce9..e4eec2e7b0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccumulatorMaxPresValue(maxPresValue BACnetApplicat
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccumulatorMaxPresValue(structType interface{}) BACnetConstructedDataAccumulatorMaxPresValue {
+func CastBACnetConstructedDataAccumulatorMaxPresValue(structType any) BACnetConstructedDataAccumulatorMaxPresValue {
if casted, ok := structType.(BACnetConstructedDataAccumulatorMaxPresValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go
index cebbaf8459..385e829fcb 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAccumulatorMinPresValue(minPresValue BACnetApplicat
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAccumulatorMinPresValue(structType interface{}) BACnetConstructedDataAccumulatorMinPresValue {
+func CastBACnetConstructedDataAccumulatorMinPresValue(structType any) BACnetConstructedDataAccumulatorMinPresValue {
if casted, ok := structType.(BACnetConstructedDataAccumulatorMinPresValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go
index 0bc29d7e3e..9c435e972b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAckRequired(ackRequired BACnetEventTransitionBitsTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAckRequired(structType interface{}) BACnetConstructedDataAckRequired {
+func CastBACnetConstructedDataAckRequired(structType any) BACnetConstructedDataAckRequired {
if casted, ok := structType.(BACnetConstructedDataAckRequired); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go
index 43b4d53d1a..c4c7c825af 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAckedTransitions(ackedTransitions BACnetEventTransi
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAckedTransitions(structType interface{}) BACnetConstructedDataAckedTransitions {
+func CastBACnetConstructedDataAckedTransitions(structType any) BACnetConstructedDataAckedTransitions {
if casted, ok := structType.(BACnetConstructedDataAckedTransitions); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go
index 9691a296c1..461ada15c6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataAction(numberOfDataElements BACnetApplicationTagUns
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAction(structType interface{}) BACnetConstructedDataAction {
+func CastBACnetConstructedDataAction(structType any) BACnetConstructedDataAction {
if casted, ok := structType.(BACnetConstructedDataAction); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go
index 3b9d16652c..30a3aea5a1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataActionText(numberOfDataElements BACnetApplicationTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataActionText(structType interface{}) BACnetConstructedDataActionText {
+func CastBACnetConstructedDataActionText(structType any) BACnetConstructedDataActionText {
if casted, ok := structType.(BACnetConstructedDataActionText); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go
index 9c0fed28fe..70b810bb76 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataActivationTime(activationTime BACnetDateTime, openi
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataActivationTime(structType interface{}) BACnetConstructedDataActivationTime {
+func CastBACnetConstructedDataActivationTime(structType any) BACnetConstructedDataActivationTime {
if casted, ok := structType.(BACnetConstructedDataActivationTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go
index a9d417bb4f..ac033237ed 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataActiveAuthenticationPolicy(activeAuthenticationPoli
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataActiveAuthenticationPolicy(structType interface{}) BACnetConstructedDataActiveAuthenticationPolicy {
+func CastBACnetConstructedDataActiveAuthenticationPolicy(structType any) BACnetConstructedDataActiveAuthenticationPolicy {
if casted, ok := structType.(BACnetConstructedDataActiveAuthenticationPolicy); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go
index 8f1919b596..7afab9751c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataActiveCOVMultipleSubscriptions(activeCOVMultipleSub
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataActiveCOVMultipleSubscriptions(structType interface{}) BACnetConstructedDataActiveCOVMultipleSubscriptions {
+func CastBACnetConstructedDataActiveCOVMultipleSubscriptions(structType any) BACnetConstructedDataActiveCOVMultipleSubscriptions {
if casted, ok := structType.(BACnetConstructedDataActiveCOVMultipleSubscriptions); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go
index ef3bcb3941..c7cfa592e7 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataActiveCOVSubscriptions(activeCOVSubscriptions []BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataActiveCOVSubscriptions(structType interface{}) BACnetConstructedDataActiveCOVSubscriptions {
+func CastBACnetConstructedDataActiveCOVSubscriptions(structType any) BACnetConstructedDataActiveCOVSubscriptions {
if casted, ok := structType.(BACnetConstructedDataActiveCOVSubscriptions); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go
index b187a125cc..f1f170db10 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataActiveText(activeText BACnetApplicationTagCharacter
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataActiveText(structType interface{}) BACnetConstructedDataActiveText {
+func CastBACnetConstructedDataActiveText(structType any) BACnetConstructedDataActiveText {
if casted, ok := structType.(BACnetConstructedDataActiveText); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go
index 3aefc5b6c9..7c81352205 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataActiveVTSessions(activeVTSession []BACnetVTSession,
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataActiveVTSessions(structType interface{}) BACnetConstructedDataActiveVTSessions {
+func CastBACnetConstructedDataActiveVTSessions(structType any) BACnetConstructedDataActiveVTSessions {
if casted, ok := structType.(BACnetConstructedDataActiveVTSessions); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go
index 5de0d1eb14..a8c703bcb8 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataActualShedLevel(actualShedLevel BACnetShedLevel, op
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataActualShedLevel(structType interface{}) BACnetConstructedDataActualShedLevel {
+func CastBACnetConstructedDataActualShedLevel(structType any) BACnetConstructedDataActualShedLevel {
if casted, ok := structType.(BACnetConstructedDataActualShedLevel); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go
index 9b007523ba..b2c44d5202 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAdjustValue(adjustValue BACnetApplicationTagSignedI
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAdjustValue(structType interface{}) BACnetConstructedDataAdjustValue {
+func CastBACnetConstructedDataAdjustValue(structType any) BACnetConstructedDataAdjustValue {
if casted, ok := structType.(BACnetConstructedDataAdjustValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go
index 51b18fd0fc..c6b2f19328 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAlarmValue(binaryPv BACnetBinaryPVTagged, openingTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAlarmValue(structType interface{}) BACnetConstructedDataAlarmValue {
+func CastBACnetConstructedDataAlarmValue(structType any) BACnetConstructedDataAlarmValue {
if casted, ok := structType.(BACnetConstructedDataAlarmValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go
index 59543ac659..35c2e375a2 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataAlarmValues(numberOfDataElements BACnetApplicationT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAlarmValues(structType interface{}) BACnetConstructedDataAlarmValues {
+func CastBACnetConstructedDataAlarmValues(structType any) BACnetConstructedDataAlarmValues {
if casted, ok := structType.(BACnetConstructedDataAlarmValues); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go
index 955ec671c1..bb19e92a82 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAlertEnrollmentAll(openingTag BACnetOpeningTag, pee
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAlertEnrollmentAll(structType interface{}) BACnetConstructedDataAlertEnrollmentAll {
+func CastBACnetConstructedDataAlertEnrollmentAll(structType any) BACnetConstructedDataAlertEnrollmentAll {
if casted, ok := structType.(BACnetConstructedDataAlertEnrollmentAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go
index 88ef1cf906..4880af711b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAlertEnrollmentPresentValue(presentValue BACnetAppl
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAlertEnrollmentPresentValue(structType interface{}) BACnetConstructedDataAlertEnrollmentPresentValue {
+func CastBACnetConstructedDataAlertEnrollmentPresentValue(structType any) BACnetConstructedDataAlertEnrollmentPresentValue {
if casted, ok := structType.(BACnetConstructedDataAlertEnrollmentPresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go
index b03281c19f..d99e9db856 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAlignIntervals(alignIntervals BACnetApplicationTagB
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAlignIntervals(structType interface{}) BACnetConstructedDataAlignIntervals {
+func CastBACnetConstructedDataAlignIntervals(structType any) BACnetConstructedDataAlignIntervals {
if casted, ok := structType.(BACnetConstructedDataAlignIntervals); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go
index 79f0bf9b02..0df225597c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAllWritesSuccessful(allWritesSuccessful BACnetAppli
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAllWritesSuccessful(structType interface{}) BACnetConstructedDataAllWritesSuccessful {
+func CastBACnetConstructedDataAllWritesSuccessful(structType any) BACnetConstructedDataAllWritesSuccessful {
if casted, ok := structType.(BACnetConstructedDataAllWritesSuccessful); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go
index 28a58499a3..37fab328f3 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAllowGroupDelayInhibit(allowGroupDelayInhibit BACne
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAllowGroupDelayInhibit(structType interface{}) BACnetConstructedDataAllowGroupDelayInhibit {
+func CastBACnetConstructedDataAllowGroupDelayInhibit(structType any) BACnetConstructedDataAllowGroupDelayInhibit {
if casted, ok := structType.(BACnetConstructedDataAllowGroupDelayInhibit); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go
index 8cc70a1a32..308d5a21e0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAnalogInputAll(openingTag BACnetOpeningTag, peekedT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogInputAll(structType interface{}) BACnetConstructedDataAnalogInputAll {
+func CastBACnetConstructedDataAnalogInputAll(structType any) BACnetConstructedDataAnalogInputAll {
if casted, ok := structType.(BACnetConstructedDataAnalogInputAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go
index cbdf75d630..bf5a1b60b4 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogInputFaultHighLimit(faultHighLimit BACnetAppl
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogInputFaultHighLimit(structType interface{}) BACnetConstructedDataAnalogInputFaultHighLimit {
+func CastBACnetConstructedDataAnalogInputFaultHighLimit(structType any) BACnetConstructedDataAnalogInputFaultHighLimit {
if casted, ok := structType.(BACnetConstructedDataAnalogInputFaultHighLimit); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go
index bbde00aa07..8b462b62f9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogInputFaultLowLimit(faultLowLimit BACnetApplic
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogInputFaultLowLimit(structType interface{}) BACnetConstructedDataAnalogInputFaultLowLimit {
+func CastBACnetConstructedDataAnalogInputFaultLowLimit(structType any) BACnetConstructedDataAnalogInputFaultLowLimit {
if casted, ok := structType.(BACnetConstructedDataAnalogInputFaultLowLimit); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go
index 2d58975edb..498acf72b4 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogInputInterfaceValue(interfaceValue BACnetOpti
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogInputInterfaceValue(structType interface{}) BACnetConstructedDataAnalogInputInterfaceValue {
+func CastBACnetConstructedDataAnalogInputInterfaceValue(structType any) BACnetConstructedDataAnalogInputInterfaceValue {
if casted, ok := structType.(BACnetConstructedDataAnalogInputInterfaceValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go
index 6cc40cd6b5..b3eabe40ee 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogInputMaxPresValue(maxPresValue BACnetApplicat
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogInputMaxPresValue(structType interface{}) BACnetConstructedDataAnalogInputMaxPresValue {
+func CastBACnetConstructedDataAnalogInputMaxPresValue(structType any) BACnetConstructedDataAnalogInputMaxPresValue {
if casted, ok := structType.(BACnetConstructedDataAnalogInputMaxPresValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go
index 8cfa0cc8cd..974d703ca9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogInputPresentValue(presentValue BACnetApplicat
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogInputPresentValue(structType interface{}) BACnetConstructedDataAnalogInputPresentValue {
+func CastBACnetConstructedDataAnalogInputPresentValue(structType any) BACnetConstructedDataAnalogInputPresentValue {
if casted, ok := structType.(BACnetConstructedDataAnalogInputPresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go
index 2f344828d2..99150eacdb 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAnalogOutputAll(openingTag BACnetOpeningTag, peeked
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogOutputAll(structType interface{}) BACnetConstructedDataAnalogOutputAll {
+func CastBACnetConstructedDataAnalogOutputAll(structType any) BACnetConstructedDataAnalogOutputAll {
if casted, ok := structType.(BACnetConstructedDataAnalogOutputAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go
index ebbca5baa9..e8be5a18b8 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogOutputInterfaceValue(interfaceValue BACnetOpt
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogOutputInterfaceValue(structType interface{}) BACnetConstructedDataAnalogOutputInterfaceValue {
+func CastBACnetConstructedDataAnalogOutputInterfaceValue(structType any) BACnetConstructedDataAnalogOutputInterfaceValue {
if casted, ok := structType.(BACnetConstructedDataAnalogOutputInterfaceValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go
index b4a7faa69b..0e2c65a829 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogOutputMaxPresValue(maxPresValue BACnetApplica
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogOutputMaxPresValue(structType interface{}) BACnetConstructedDataAnalogOutputMaxPresValue {
+func CastBACnetConstructedDataAnalogOutputMaxPresValue(structType any) BACnetConstructedDataAnalogOutputMaxPresValue {
if casted, ok := structType.(BACnetConstructedDataAnalogOutputMaxPresValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go
index 82e925ff09..9fe08331c1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogOutputPresentValue(presentValue BACnetApplica
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogOutputPresentValue(structType interface{}) BACnetConstructedDataAnalogOutputPresentValue {
+func CastBACnetConstructedDataAnalogOutputPresentValue(structType any) BACnetConstructedDataAnalogOutputPresentValue {
if casted, ok := structType.(BACnetConstructedDataAnalogOutputPresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go
index 321d72d2b6..1d52d392d9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogOutputRelinquishDefault(relinquishDefault BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogOutputRelinquishDefault(structType interface{}) BACnetConstructedDataAnalogOutputRelinquishDefault {
+func CastBACnetConstructedDataAnalogOutputRelinquishDefault(structType any) BACnetConstructedDataAnalogOutputRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataAnalogOutputRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go
index a5d05ebc81..80aeaeaf1e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAnalogValueAll(openingTag BACnetOpeningTag, peekedT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogValueAll(structType interface{}) BACnetConstructedDataAnalogValueAll {
+func CastBACnetConstructedDataAnalogValueAll(structType any) BACnetConstructedDataAnalogValueAll {
if casted, ok := structType.(BACnetConstructedDataAnalogValueAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go
index 077824b7b6..003efc18f6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogValueFaultHighLimit(faultHighLimit BACnetAppl
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogValueFaultHighLimit(structType interface{}) BACnetConstructedDataAnalogValueFaultHighLimit {
+func CastBACnetConstructedDataAnalogValueFaultHighLimit(structType any) BACnetConstructedDataAnalogValueFaultHighLimit {
if casted, ok := structType.(BACnetConstructedDataAnalogValueFaultHighLimit); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go
index ee9437ed67..91cde04182 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogValueFaultLowLimit(faultLowLimit BACnetApplic
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogValueFaultLowLimit(structType interface{}) BACnetConstructedDataAnalogValueFaultLowLimit {
+func CastBACnetConstructedDataAnalogValueFaultLowLimit(structType any) BACnetConstructedDataAnalogValueFaultLowLimit {
if casted, ok := structType.(BACnetConstructedDataAnalogValueFaultLowLimit); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go
index 7ee1862762..0f8d06df03 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogValueMaxPresValue(maxPresValue BACnetApplicat
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogValueMaxPresValue(structType interface{}) BACnetConstructedDataAnalogValueMaxPresValue {
+func CastBACnetConstructedDataAnalogValueMaxPresValue(structType any) BACnetConstructedDataAnalogValueMaxPresValue {
if casted, ok := structType.(BACnetConstructedDataAnalogValueMaxPresValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go
index df837e9fbf..399a3c298e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogValuePresentValue(presentValue BACnetApplicat
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogValuePresentValue(structType interface{}) BACnetConstructedDataAnalogValuePresentValue {
+func CastBACnetConstructedDataAnalogValuePresentValue(structType any) BACnetConstructedDataAnalogValuePresentValue {
if casted, ok := structType.(BACnetConstructedDataAnalogValuePresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go
index 87dc6ab206..7422bbb9b1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAnalogValueRelinquishDefault(relinquishDefault BACn
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAnalogValueRelinquishDefault(structType interface{}) BACnetConstructedDataAnalogValueRelinquishDefault {
+func CastBACnetConstructedDataAnalogValueRelinquishDefault(structType any) BACnetConstructedDataAnalogValueRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataAnalogValueRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go
index 07addb5f58..4e0a4b2865 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataApplicationSoftwareVersion(applicationSoftwareVersi
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataApplicationSoftwareVersion(structType interface{}) BACnetConstructedDataApplicationSoftwareVersion {
+func CastBACnetConstructedDataApplicationSoftwareVersion(structType any) BACnetConstructedDataApplicationSoftwareVersion {
if casted, ok := structType.(BACnetConstructedDataApplicationSoftwareVersion); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go
index 4393e8ad4c..c58d748a76 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataArchive(archive BACnetApplicationTagBoolean, openin
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataArchive(structType interface{}) BACnetConstructedDataArchive {
+func CastBACnetConstructedDataArchive(structType any) BACnetConstructedDataArchive {
if casted, ok := structType.(BACnetConstructedDataArchive); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go
index 0da6f9002c..3499f9c4ec 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataAssignedAccessRights(numberOfDataElements BACnetApp
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAssignedAccessRights(structType interface{}) BACnetConstructedDataAssignedAccessRights {
+func CastBACnetConstructedDataAssignedAccessRights(structType any) BACnetConstructedDataAssignedAccessRights {
if casted, ok := structType.(BACnetConstructedDataAssignedAccessRights); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go
index f923b5b6d2..5d289c94da 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataAssignedLandingCalls(numberOfDataElements BACnetApp
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAssignedLandingCalls(structType interface{}) BACnetConstructedDataAssignedLandingCalls {
+func CastBACnetConstructedDataAssignedLandingCalls(structType any) BACnetConstructedDataAssignedLandingCalls {
if casted, ok := structType.(BACnetConstructedDataAssignedLandingCalls); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go
index 97b624f8bd..a25527d104 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAttemptedSamples(attemptedSamples BACnetApplication
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAttemptedSamples(structType interface{}) BACnetConstructedDataAttemptedSamples {
+func CastBACnetConstructedDataAttemptedSamples(structType any) BACnetConstructedDataAttemptedSamples {
if casted, ok := structType.(BACnetConstructedDataAttemptedSamples); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go
index a7e7809ebc..7ffddd6988 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataAuthenticationFactors(numberOfDataElements BACnetAp
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAuthenticationFactors(structType interface{}) BACnetConstructedDataAuthenticationFactors {
+func CastBACnetConstructedDataAuthenticationFactors(structType any) BACnetConstructedDataAuthenticationFactors {
if casted, ok := structType.(BACnetConstructedDataAuthenticationFactors); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go
index c4a317afeb..9144d95d1c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataAuthenticationPolicyList(numberOfDataElements BACne
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAuthenticationPolicyList(structType interface{}) BACnetConstructedDataAuthenticationPolicyList {
+func CastBACnetConstructedDataAuthenticationPolicyList(structType any) BACnetConstructedDataAuthenticationPolicyList {
if casted, ok := structType.(BACnetConstructedDataAuthenticationPolicyList); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go
index b547e9e231..8973eaa434 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataAuthenticationPolicyNames(numberOfDataElements BACn
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAuthenticationPolicyNames(structType interface{}) BACnetConstructedDataAuthenticationPolicyNames {
+func CastBACnetConstructedDataAuthenticationPolicyNames(structType any) BACnetConstructedDataAuthenticationPolicyNames {
if casted, ok := structType.(BACnetConstructedDataAuthenticationPolicyNames); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go
index 00d3598c92..3b9b46a67b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAuthenticationStatus(authenticationStatus BACnetAut
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAuthenticationStatus(structType interface{}) BACnetConstructedDataAuthenticationStatus {
+func CastBACnetConstructedDataAuthenticationStatus(structType any) BACnetConstructedDataAuthenticationStatus {
if casted, ok := structType.(BACnetConstructedDataAuthenticationStatus); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go
index 88481d0fdd..959f3dd751 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataAuthorizationExemptions(authorizationExemption []BA
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAuthorizationExemptions(structType interface{}) BACnetConstructedDataAuthorizationExemptions {
+func CastBACnetConstructedDataAuthorizationExemptions(structType any) BACnetConstructedDataAuthorizationExemptions {
if casted, ok := structType.(BACnetConstructedDataAuthorizationExemptions); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go
index 477f901d48..5836ffe78b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAuthorizationMode(authorizationMode BACnetAuthoriza
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAuthorizationMode(structType interface{}) BACnetConstructedDataAuthorizationMode {
+func CastBACnetConstructedDataAuthorizationMode(structType any) BACnetConstructedDataAuthorizationMode {
if casted, ok := structType.(BACnetConstructedDataAuthorizationMode); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go
index 05de6ac540..280d5d9972 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAutoSlaveDiscovery(autoSlaveDiscovery BACnetApplica
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAutoSlaveDiscovery(structType interface{}) BACnetConstructedDataAutoSlaveDiscovery {
+func CastBACnetConstructedDataAutoSlaveDiscovery(structType any) BACnetConstructedDataAutoSlaveDiscovery {
if casted, ok := structType.(BACnetConstructedDataAutoSlaveDiscovery); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go
index 2575e882f5..a07040c73d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataAverageValue(averageValue BACnetApplicationTagReal,
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAverageValue(structType interface{}) BACnetConstructedDataAverageValue {
+func CastBACnetConstructedDataAverageValue(structType any) BACnetConstructedDataAverageValue {
if casted, ok := structType.(BACnetConstructedDataAverageValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go
index 4c1f8b0745..1b9241702d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataAveragingAll(openingTag BACnetOpeningTag, peekedTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataAveragingAll(structType interface{}) BACnetConstructedDataAveragingAll {
+func CastBACnetConstructedDataAveragingAll(structType any) BACnetConstructedDataAveragingAll {
if casted, ok := structType.(BACnetConstructedDataAveragingAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go
index 37e646e475..f3ac19ba0b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBACnetIPGlobalAddress(bacnetIpGlobalAddress BACnetH
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBACnetIPGlobalAddress(structType interface{}) BACnetConstructedDataBACnetIPGlobalAddress {
+func CastBACnetConstructedDataBACnetIPGlobalAddress(structType any) BACnetConstructedDataBACnetIPGlobalAddress {
if casted, ok := structType.(BACnetConstructedDataBACnetIPGlobalAddress); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go
index 50962c2df3..5712ade0be 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBACnetIPMode(bacnetIpMode BACnetIPModeTagged, openi
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBACnetIPMode(structType interface{}) BACnetConstructedDataBACnetIPMode {
+func CastBACnetConstructedDataBACnetIPMode(structType any) BACnetConstructedDataBACnetIPMode {
if casted, ok := structType.(BACnetConstructedDataBACnetIPMode); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go
index 6561fdf786..ebf7042b34 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBACnetIPMulticastAddress(ipMulticastAddress BACnetA
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBACnetIPMulticastAddress(structType interface{}) BACnetConstructedDataBACnetIPMulticastAddress {
+func CastBACnetConstructedDataBACnetIPMulticastAddress(structType any) BACnetConstructedDataBACnetIPMulticastAddress {
if casted, ok := structType.(BACnetConstructedDataBACnetIPMulticastAddress); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go
index 108ff4a847..38df63c71c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBACnetIPNATTraversal(bacnetIPNATTraversal BACnetApp
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBACnetIPNATTraversal(structType interface{}) BACnetConstructedDataBACnetIPNATTraversal {
+func CastBACnetConstructedDataBACnetIPNATTraversal(structType any) BACnetConstructedDataBACnetIPNATTraversal {
if casted, ok := structType.(BACnetConstructedDataBACnetIPNATTraversal); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go
index 2ec65524e9..02b12941ed 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBACnetIPUDPPort(ipUdpPort BACnetApplicationTagUnsig
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBACnetIPUDPPort(structType interface{}) BACnetConstructedDataBACnetIPUDPPort {
+func CastBACnetConstructedDataBACnetIPUDPPort(structType any) BACnetConstructedDataBACnetIPUDPPort {
if casted, ok := structType.(BACnetConstructedDataBACnetIPUDPPort); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go
index 8be5bae0e3..b0699fa52c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBACnetIPv6Mode(bacnetIpv6Mode BACnetIPModeTagged, o
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBACnetIPv6Mode(structType interface{}) BACnetConstructedDataBACnetIPv6Mode {
+func CastBACnetConstructedDataBACnetIPv6Mode(structType any) BACnetConstructedDataBACnetIPv6Mode {
if casted, ok := structType.(BACnetConstructedDataBACnetIPv6Mode); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go
index 5aa6d56b90..e0a13b4e69 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBACnetIPv6MulticastAddress(ipv6MulticastAddress BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBACnetIPv6MulticastAddress(structType interface{}) BACnetConstructedDataBACnetIPv6MulticastAddress {
+func CastBACnetConstructedDataBACnetIPv6MulticastAddress(structType any) BACnetConstructedDataBACnetIPv6MulticastAddress {
if casted, ok := structType.(BACnetConstructedDataBACnetIPv6MulticastAddress); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go
index c69a543b27..7cf8166787 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBACnetIPv6UDPPort(ipv6UdpPort BACnetApplicationTagU
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBACnetIPv6UDPPort(structType interface{}) BACnetConstructedDataBACnetIPv6UDPPort {
+func CastBACnetConstructedDataBACnetIPv6UDPPort(structType any) BACnetConstructedDataBACnetIPv6UDPPort {
if casted, ok := structType.(BACnetConstructedDataBACnetIPv6UDPPort); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go
index 841d804179..44db045b0b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBBMDAcceptFDRegistrations(bbmdAcceptFDRegistrations
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBBMDAcceptFDRegistrations(structType interface{}) BACnetConstructedDataBBMDAcceptFDRegistrations {
+func CastBACnetConstructedDataBBMDAcceptFDRegistrations(structType any) BACnetConstructedDataBBMDAcceptFDRegistrations {
if casted, ok := structType.(BACnetConstructedDataBBMDAcceptFDRegistrations); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go
index a59d4151e2..bfd69f577a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataBBMDBroadcastDistributionTable(bbmdBroadcastDistrib
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBBMDBroadcastDistributionTable(structType interface{}) BACnetConstructedDataBBMDBroadcastDistributionTable {
+func CastBACnetConstructedDataBBMDBroadcastDistributionTable(structType any) BACnetConstructedDataBBMDBroadcastDistributionTable {
if casted, ok := structType.(BACnetConstructedDataBBMDBroadcastDistributionTable); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go
index c06ccb50f1..0bb9cedd4e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataBBMDForeignDeviceTable(bbmdForeignDeviceTable []BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBBMDForeignDeviceTable(structType interface{}) BACnetConstructedDataBBMDForeignDeviceTable {
+func CastBACnetConstructedDataBBMDForeignDeviceTable(structType any) BACnetConstructedDataBBMDForeignDeviceTable {
if casted, ok := structType.(BACnetConstructedDataBBMDForeignDeviceTable); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go
index a0301d2083..a7532d80c5 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBackupAndRestoreState(backupAndRestoreState BACnetB
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBackupAndRestoreState(structType interface{}) BACnetConstructedDataBackupAndRestoreState {
+func CastBACnetConstructedDataBackupAndRestoreState(structType any) BACnetConstructedDataBackupAndRestoreState {
if casted, ok := structType.(BACnetConstructedDataBackupAndRestoreState); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go
index 5ac66dc970..8b3656b3e6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBackupFailureTimeout(backupFailureTimeout BACnetApp
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBackupFailureTimeout(structType interface{}) BACnetConstructedDataBackupFailureTimeout {
+func CastBACnetConstructedDataBackupFailureTimeout(structType any) BACnetConstructedDataBackupFailureTimeout {
if casted, ok := structType.(BACnetConstructedDataBackupFailureTimeout); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go
index d5556999fe..827d04da66 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBackupPreparationTime(backupPreparationTime BACnetA
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBackupPreparationTime(structType interface{}) BACnetConstructedDataBackupPreparationTime {
+func CastBACnetConstructedDataBackupPreparationTime(structType any) BACnetConstructedDataBackupPreparationTime {
if casted, ok := structType.(BACnetConstructedDataBackupPreparationTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go
index 63919879ea..22493573ff 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBaseDeviceSecurityPolicy(baseDeviceSecurityPolicy B
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBaseDeviceSecurityPolicy(structType interface{}) BACnetConstructedDataBaseDeviceSecurityPolicy {
+func CastBACnetConstructedDataBaseDeviceSecurityPolicy(structType any) BACnetConstructedDataBaseDeviceSecurityPolicy {
if casted, ok := structType.(BACnetConstructedDataBaseDeviceSecurityPolicy); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go
index 5b31828ef7..a1f461a3d2 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBelongsTo(belongsTo BACnetDeviceObjectReference, op
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBelongsTo(structType interface{}) BACnetConstructedDataBelongsTo {
+func CastBACnetConstructedDataBelongsTo(structType any) BACnetConstructedDataBelongsTo {
if casted, ok := structType.(BACnetConstructedDataBelongsTo); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go
index a6c3c69fef..69bdaba35b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBias(bias BACnetApplicationTagReal, openingTag BACn
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBias(structType interface{}) BACnetConstructedDataBias {
+func CastBACnetConstructedDataBias(structType any) BACnetConstructedDataBias {
if casted, ok := structType.(BACnetConstructedDataBias); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go
index b58135cb0a..d0a0e7e05b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataBinaryInputAll(openingTag BACnetOpeningTag, peekedT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryInputAll(structType interface{}) BACnetConstructedDataBinaryInputAll {
+func CastBACnetConstructedDataBinaryInputAll(structType any) BACnetConstructedDataBinaryInputAll {
if casted, ok := structType.(BACnetConstructedDataBinaryInputAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go
index 3ecefc1668..b6249f9d00 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryInputInterfaceValue(interfaceValue BACnetOpti
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryInputInterfaceValue(structType interface{}) BACnetConstructedDataBinaryInputInterfaceValue {
+func CastBACnetConstructedDataBinaryInputInterfaceValue(structType any) BACnetConstructedDataBinaryInputInterfaceValue {
if casted, ok := structType.(BACnetConstructedDataBinaryInputInterfaceValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go
index 109404c3b6..0fa3b8de74 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryInputPresentValue(presentValue BACnetBinaryPV
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryInputPresentValue(structType interface{}) BACnetConstructedDataBinaryInputPresentValue {
+func CastBACnetConstructedDataBinaryInputPresentValue(structType any) BACnetConstructedDataBinaryInputPresentValue {
if casted, ok := structType.(BACnetConstructedDataBinaryInputPresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go
index f843c1fd7d..8f79db8e06 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataBinaryLightingOutputAll(openingTag BACnetOpeningTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryLightingOutputAll(structType interface{}) BACnetConstructedDataBinaryLightingOutputAll {
+func CastBACnetConstructedDataBinaryLightingOutputAll(structType any) BACnetConstructedDataBinaryLightingOutputAll {
if casted, ok := structType.(BACnetConstructedDataBinaryLightingOutputAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go
index d824d61ea7..26e77b642e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryLightingOutputFeedbackValue(feedbackValue BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryLightingOutputFeedbackValue(structType interface{}) BACnetConstructedDataBinaryLightingOutputFeedbackValue {
+func CastBACnetConstructedDataBinaryLightingOutputFeedbackValue(structType any) BACnetConstructedDataBinaryLightingOutputFeedbackValue {
if casted, ok := structType.(BACnetConstructedDataBinaryLightingOutputFeedbackValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go
index f787fdefc3..897331c3db 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryLightingOutputPresentValue(presentValue BACne
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryLightingOutputPresentValue(structType interface{}) BACnetConstructedDataBinaryLightingOutputPresentValue {
+func CastBACnetConstructedDataBinaryLightingOutputPresentValue(structType any) BACnetConstructedDataBinaryLightingOutputPresentValue {
if casted, ok := structType.(BACnetConstructedDataBinaryLightingOutputPresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go
index 6e867fc699..99bd0ac7bb 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryLightingOutputRelinquishDefault(relinquishDef
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryLightingOutputRelinquishDefault(structType interface{}) BACnetConstructedDataBinaryLightingOutputRelinquishDefault {
+func CastBACnetConstructedDataBinaryLightingOutputRelinquishDefault(structType any) BACnetConstructedDataBinaryLightingOutputRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataBinaryLightingOutputRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go
index 0f61307a3b..20c4b83fbd 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataBinaryOutputAll(openingTag BACnetOpeningTag, peeked
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryOutputAll(structType interface{}) BACnetConstructedDataBinaryOutputAll {
+func CastBACnetConstructedDataBinaryOutputAll(structType any) BACnetConstructedDataBinaryOutputAll {
if casted, ok := structType.(BACnetConstructedDataBinaryOutputAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go
index 9b26ff3550..03085234b8 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryOutputFeedbackValue(feedbackValue BACnetBinar
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryOutputFeedbackValue(structType interface{}) BACnetConstructedDataBinaryOutputFeedbackValue {
+func CastBACnetConstructedDataBinaryOutputFeedbackValue(structType any) BACnetConstructedDataBinaryOutputFeedbackValue {
if casted, ok := structType.(BACnetConstructedDataBinaryOutputFeedbackValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go
index 2f4a05e53d..1b8dacec2d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryOutputInterfaceValue(interfaceValue BACnetOpt
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryOutputInterfaceValue(structType interface{}) BACnetConstructedDataBinaryOutputInterfaceValue {
+func CastBACnetConstructedDataBinaryOutputInterfaceValue(structType any) BACnetConstructedDataBinaryOutputInterfaceValue {
if casted, ok := structType.(BACnetConstructedDataBinaryOutputInterfaceValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go
index 8aed611fd8..49f56ad414 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryOutputPresentValue(presentValue BACnetBinaryP
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryOutputPresentValue(structType interface{}) BACnetConstructedDataBinaryOutputPresentValue {
+func CastBACnetConstructedDataBinaryOutputPresentValue(structType any) BACnetConstructedDataBinaryOutputPresentValue {
if casted, ok := structType.(BACnetConstructedDataBinaryOutputPresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go
index 6662840579..1655ca3de4 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryOutputRelinquishDefault(relinquishDefault BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryOutputRelinquishDefault(structType interface{}) BACnetConstructedDataBinaryOutputRelinquishDefault {
+func CastBACnetConstructedDataBinaryOutputRelinquishDefault(structType any) BACnetConstructedDataBinaryOutputRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataBinaryOutputRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go
index 8aaf6b4d37..be16d723fb 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataBinaryValueAll(openingTag BACnetOpeningTag, peekedT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryValueAll(structType interface{}) BACnetConstructedDataBinaryValueAll {
+func CastBACnetConstructedDataBinaryValueAll(structType any) BACnetConstructedDataBinaryValueAll {
if casted, ok := structType.(BACnetConstructedDataBinaryValueAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go
index e3be495aeb..084228850c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryValuePresentValue(presentValue BACnetBinaryPV
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryValuePresentValue(structType interface{}) BACnetConstructedDataBinaryValuePresentValue {
+func CastBACnetConstructedDataBinaryValuePresentValue(structType any) BACnetConstructedDataBinaryValuePresentValue {
if casted, ok := structType.(BACnetConstructedDataBinaryValuePresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go
index 438ed3ea5a..5981aee971 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBinaryValueRelinquishDefault(relinquishDefault BACn
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBinaryValueRelinquishDefault(structType interface{}) BACnetConstructedDataBinaryValueRelinquishDefault {
+func CastBACnetConstructedDataBinaryValueRelinquishDefault(structType any) BACnetConstructedDataBinaryValueRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataBinaryValueRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go
index cb87a6023f..54692a2b3f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBitMask(bitString BACnetApplicationTagBitString, op
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBitMask(structType interface{}) BACnetConstructedDataBitMask {
+func CastBACnetConstructedDataBitMask(structType any) BACnetConstructedDataBitMask {
if casted, ok := structType.(BACnetConstructedDataBitMask); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go
index b7dddc676e..36f6ab7ab9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataBitStringValueAlarmValues(numberOfDataElements BACn
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBitStringValueAlarmValues(structType interface{}) BACnetConstructedDataBitStringValueAlarmValues {
+func CastBACnetConstructedDataBitStringValueAlarmValues(structType any) BACnetConstructedDataBitStringValueAlarmValues {
if casted, ok := structType.(BACnetConstructedDataBitStringValueAlarmValues); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go
index 00144e331e..d768c13033 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBitStringValuePresentValue(presentValue BACnetAppli
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBitStringValuePresentValue(structType interface{}) BACnetConstructedDataBitStringValuePresentValue {
+func CastBACnetConstructedDataBitStringValuePresentValue(structType any) BACnetConstructedDataBitStringValuePresentValue {
if casted, ok := structType.(BACnetConstructedDataBitStringValuePresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go
index afaa3b3f42..cf12072d71 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBitStringValueRelinquishDefault(relinquishDefault B
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBitStringValueRelinquishDefault(structType interface{}) BACnetConstructedDataBitStringValueRelinquishDefault {
+func CastBACnetConstructedDataBitStringValueRelinquishDefault(structType any) BACnetConstructedDataBitStringValueRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataBitStringValueRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go
index 0874851587..ab5358c561 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataBitText(numberOfDataElements BACnetApplicationTagUn
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBitText(structType interface{}) BACnetConstructedDataBitText {
+func CastBACnetConstructedDataBitText(structType any) BACnetConstructedDataBitText {
if casted, ok := structType.(BACnetConstructedDataBitText); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go
index 34566563f9..3c1929136b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataBitstringValueAll(openingTag BACnetOpeningTag, peek
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBitstringValueAll(structType interface{}) BACnetConstructedDataBitstringValueAll {
+func CastBACnetConstructedDataBitstringValueAll(structType any) BACnetConstructedDataBitstringValueAll {
if casted, ok := structType.(BACnetConstructedDataBitstringValueAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go
index 650b785fd9..fd06909745 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBlinkWarnEnable(blinkWarnEnable BACnetApplicationTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBlinkWarnEnable(structType interface{}) BACnetConstructedDataBlinkWarnEnable {
+func CastBACnetConstructedDataBlinkWarnEnable(structType any) BACnetConstructedDataBlinkWarnEnable {
if casted, ok := structType.(BACnetConstructedDataBlinkWarnEnable); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go
index 2ec5d46440..a1469b737f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataBufferSize(bufferSize BACnetApplicationTagUnsignedI
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataBufferSize(structType interface{}) BACnetConstructedDataBufferSize {
+func CastBACnetConstructedDataBufferSize(structType any) BACnetConstructedDataBufferSize {
if casted, ok := structType.(BACnetConstructedDataBufferSize); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go
index ab211780f9..726083d64c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCOVIncrement(covIncrement BACnetApplicationTagReal,
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCOVIncrement(structType interface{}) BACnetConstructedDataCOVIncrement {
+func CastBACnetConstructedDataCOVIncrement(structType any) BACnetConstructedDataCOVIncrement {
if casted, ok := structType.(BACnetConstructedDataCOVIncrement); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go
index 0612eb764d..aabda62993 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCOVPeriod(covPeriod BACnetApplicationTagUnsignedInt
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCOVPeriod(structType interface{}) BACnetConstructedDataCOVPeriod {
+func CastBACnetConstructedDataCOVPeriod(structType any) BACnetConstructedDataCOVPeriod {
if casted, ok := structType.(BACnetConstructedDataCOVPeriod); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go
index 19fb62a8a3..783456cc30 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCOVResubscriptionInterval(covResubscriptionInterval
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCOVResubscriptionInterval(structType interface{}) BACnetConstructedDataCOVResubscriptionInterval {
+func CastBACnetConstructedDataCOVResubscriptionInterval(structType any) BACnetConstructedDataCOVResubscriptionInterval {
if casted, ok := structType.(BACnetConstructedDataCOVResubscriptionInterval); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go
index 5bc4ac42f8..e21343d5d0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCOVUPeriod(covuPeriod BACnetApplicationTagUnsignedI
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCOVUPeriod(structType interface{}) BACnetConstructedDataCOVUPeriod {
+func CastBACnetConstructedDataCOVUPeriod(structType any) BACnetConstructedDataCOVUPeriod {
if casted, ok := structType.(BACnetConstructedDataCOVUPeriod); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go
index 198d73f9d3..175727054d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataCOVURecipients(covuRecipients []BACnetRecipient, op
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCOVURecipients(structType interface{}) BACnetConstructedDataCOVURecipients {
+func CastBACnetConstructedDataCOVURecipients(structType any) BACnetConstructedDataCOVURecipients {
if casted, ok := structType.(BACnetConstructedDataCOVURecipients); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go
index 7b165c7673..ce7ab4046a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataCalendarAll(openingTag BACnetOpeningTag, peekedTagH
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCalendarAll(structType interface{}) BACnetConstructedDataCalendarAll {
+func CastBACnetConstructedDataCalendarAll(structType any) BACnetConstructedDataCalendarAll {
if casted, ok := structType.(BACnetConstructedDataCalendarAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go
index 27282b7533..8d717ecd14 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCalendarPresentValue(presentValue BACnetApplication
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCalendarPresentValue(structType interface{}) BACnetConstructedDataCalendarPresentValue {
+func CastBACnetConstructedDataCalendarPresentValue(structType any) BACnetConstructedDataCalendarPresentValue {
if casted, ok := structType.(BACnetConstructedDataCalendarPresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go
index b32094e97e..470b12deb3 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCarAssignedDirection(assignedDirection BACnetLiftCa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarAssignedDirection(structType interface{}) BACnetConstructedDataCarAssignedDirection {
+func CastBACnetConstructedDataCarAssignedDirection(structType any) BACnetConstructedDataCarAssignedDirection {
if casted, ok := structType.(BACnetConstructedDataCarAssignedDirection); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go
index 5a1fba5af6..f5294ee7bd 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataCarDoorCommand(numberOfDataElements BACnetApplicati
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarDoorCommand(structType interface{}) BACnetConstructedDataCarDoorCommand {
+func CastBACnetConstructedDataCarDoorCommand(structType any) BACnetConstructedDataCarDoorCommand {
if casted, ok := structType.(BACnetConstructedDataCarDoorCommand); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go
index 9cf9111bf3..a2b5505b79 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataCarDoorStatus(numberOfDataElements BACnetApplicatio
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarDoorStatus(structType interface{}) BACnetConstructedDataCarDoorStatus {
+func CastBACnetConstructedDataCarDoorStatus(structType any) BACnetConstructedDataCarDoorStatus {
if casted, ok := structType.(BACnetConstructedDataCarDoorStatus); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go
index 3846e40ac5..8a890cbdcd 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataCarDoorText(numberOfDataElements BACnetApplicationT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarDoorText(structType interface{}) BACnetConstructedDataCarDoorText {
+func CastBACnetConstructedDataCarDoorText(structType any) BACnetConstructedDataCarDoorText {
if casted, ok := structType.(BACnetConstructedDataCarDoorText); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go
index fd59af51b4..3d900c2282 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCarDoorZone(carDoorZone BACnetApplicationTagBoolean
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarDoorZone(structType interface{}) BACnetConstructedDataCarDoorZone {
+func CastBACnetConstructedDataCarDoorZone(structType any) BACnetConstructedDataCarDoorZone {
if casted, ok := structType.(BACnetConstructedDataCarDoorZone); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go
index 80af33ed2a..0935172805 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCarDriveStatus(carDriveStatus BACnetLiftCarDriveSta
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarDriveStatus(structType interface{}) BACnetConstructedDataCarDriveStatus {
+func CastBACnetConstructedDataCarDriveStatus(structType any) BACnetConstructedDataCarDriveStatus {
if casted, ok := structType.(BACnetConstructedDataCarDriveStatus); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go
index 0ad7fe94a9..44f5c5b734 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCarLoad(carLoad BACnetApplicationTagReal, openingTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarLoad(structType interface{}) BACnetConstructedDataCarLoad {
+func CastBACnetConstructedDataCarLoad(structType any) BACnetConstructedDataCarLoad {
if casted, ok := structType.(BACnetConstructedDataCarLoad); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go
index d4a134dff2..949d98d4aa 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCarLoadUnits(units BACnetEngineeringUnitsTagged, op
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarLoadUnits(structType interface{}) BACnetConstructedDataCarLoadUnits {
+func CastBACnetConstructedDataCarLoadUnits(structType any) BACnetConstructedDataCarLoadUnits {
if casted, ok := structType.(BACnetConstructedDataCarLoadUnits); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go
index 2d4e1987a7..33fcc7f8c9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCarMode(carMode BACnetLiftCarModeTagged, openingTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarMode(structType interface{}) BACnetConstructedDataCarMode {
+func CastBACnetConstructedDataCarMode(structType any) BACnetConstructedDataCarMode {
if casted, ok := structType.(BACnetConstructedDataCarMode); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go
index b497fca4a0..63cba592f3 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCarMovingDirection(carMovingDirection BACnetLiftCar
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarMovingDirection(structType interface{}) BACnetConstructedDataCarMovingDirection {
+func CastBACnetConstructedDataCarMovingDirection(structType any) BACnetConstructedDataCarMovingDirection {
if casted, ok := structType.(BACnetConstructedDataCarMovingDirection); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go
index 26b67cca57..508b419498 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCarPosition(carPosition BACnetApplicationTagUnsigne
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCarPosition(structType interface{}) BACnetConstructedDataCarPosition {
+func CastBACnetConstructedDataCarPosition(structType any) BACnetConstructedDataCarPosition {
if casted, ok := structType.(BACnetConstructedDataCarPosition); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go
index 1bb9e1ed89..62e4b864a7 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataChangeOfStateCount(changeIfStateCount BACnetApplica
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataChangeOfStateCount(structType interface{}) BACnetConstructedDataChangeOfStateCount {
+func CastBACnetConstructedDataChangeOfStateCount(structType any) BACnetConstructedDataChangeOfStateCount {
if casted, ok := structType.(BACnetConstructedDataChangeOfStateCount); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go
index e6869e27ac..f301e04524 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataChangeOfStateTime(changeOfStateTime BACnetDateTime,
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataChangeOfStateTime(structType interface{}) BACnetConstructedDataChangeOfStateTime {
+func CastBACnetConstructedDataChangeOfStateTime(structType any) BACnetConstructedDataChangeOfStateTime {
if casted, ok := structType.(BACnetConstructedDataChangeOfStateTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go
index 58338ea20b..922bd97763 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataChangesPending(changesPending BACnetApplicationTagB
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataChangesPending(structType interface{}) BACnetConstructedDataChangesPending {
+func CastBACnetConstructedDataChangesPending(structType any) BACnetConstructedDataChangesPending {
if casted, ok := structType.(BACnetConstructedDataChangesPending); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go
index d4b4b9c15c..fcaf4a5c28 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataChannelAll(openingTag BACnetOpeningTag, peekedTagHe
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataChannelAll(structType interface{}) BACnetConstructedDataChannelAll {
+func CastBACnetConstructedDataChannelAll(structType any) BACnetConstructedDataChannelAll {
if casted, ok := structType.(BACnetConstructedDataChannelAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go
index 6e0959729c..147b143212 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataChannelListOfObjectPropertyReferences(numberOfDataE
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataChannelListOfObjectPropertyReferences(structType interface{}) BACnetConstructedDataChannelListOfObjectPropertyReferences {
+func CastBACnetConstructedDataChannelListOfObjectPropertyReferences(structType any) BACnetConstructedDataChannelListOfObjectPropertyReferences {
if casted, ok := structType.(BACnetConstructedDataChannelListOfObjectPropertyReferences); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go
index f50fdf0159..055f68fb42 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataChannelNumber(channelNumber BACnetApplicationTagUns
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataChannelNumber(structType interface{}) BACnetConstructedDataChannelNumber {
+func CastBACnetConstructedDataChannelNumber(structType any) BACnetConstructedDataChannelNumber {
if casted, ok := structType.(BACnetConstructedDataChannelNumber); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go
index bd3c757e19..6b0c29fb08 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataChannelPresentValue(presentValue BACnetChannelValue
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataChannelPresentValue(structType interface{}) BACnetConstructedDataChannelPresentValue {
+func CastBACnetConstructedDataChannelPresentValue(structType any) BACnetConstructedDataChannelPresentValue {
if casted, ok := structType.(BACnetConstructedDataChannelPresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go
index 50cce61e67..0ed0fd9179 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataCharacterStringValueAlarmValues(numberOfDataElement
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCharacterStringValueAlarmValues(structType interface{}) BACnetConstructedDataCharacterStringValueAlarmValues {
+func CastBACnetConstructedDataCharacterStringValueAlarmValues(structType any) BACnetConstructedDataCharacterStringValueAlarmValues {
if casted, ok := structType.(BACnetConstructedDataCharacterStringValueAlarmValues); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go
index ac109ef487..74e75362ec 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataCharacterStringValueFaultValues(numberOfDataElement
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCharacterStringValueFaultValues(structType interface{}) BACnetConstructedDataCharacterStringValueFaultValues {
+func CastBACnetConstructedDataCharacterStringValueFaultValues(structType any) BACnetConstructedDataCharacterStringValueFaultValues {
if casted, ok := structType.(BACnetConstructedDataCharacterStringValueFaultValues); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go
index ab37fc3ac3..c804f51512 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCharacterStringValuePresentValue(presentValue BACne
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCharacterStringValuePresentValue(structType interface{}) BACnetConstructedDataCharacterStringValuePresentValue {
+func CastBACnetConstructedDataCharacterStringValuePresentValue(structType any) BACnetConstructedDataCharacterStringValuePresentValue {
if casted, ok := structType.(BACnetConstructedDataCharacterStringValuePresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go
index 9075bcfa75..d16b421335 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCharacterStringValueRelinquishDefault(relinquishDef
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCharacterStringValueRelinquishDefault(structType interface{}) BACnetConstructedDataCharacterStringValueRelinquishDefault {
+func CastBACnetConstructedDataCharacterStringValueRelinquishDefault(structType any) BACnetConstructedDataCharacterStringValueRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataCharacterStringValueRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go
index 92264f14b7..4911dc47f6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataCharacterstringValueAll(openingTag BACnetOpeningTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCharacterstringValueAll(structType interface{}) BACnetConstructedDataCharacterstringValueAll {
+func CastBACnetConstructedDataCharacterstringValueAll(structType any) BACnetConstructedDataCharacterstringValueAll {
if casted, ok := structType.(BACnetConstructedDataCharacterstringValueAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go
index d9b1c361b3..3e5f067dce 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataClientCOVIncrement(covIncrement BACnetClientCOV, op
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataClientCOVIncrement(structType interface{}) BACnetConstructedDataClientCOVIncrement {
+func CastBACnetConstructedDataClientCOVIncrement(structType any) BACnetConstructedDataClientCOVIncrement {
if casted, ok := structType.(BACnetConstructedDataClientCOVIncrement); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go
index 80e1288308..ebf1e8e10a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCommand(command BACnetNetworkPortCommandTagged, ope
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCommand(structType interface{}) BACnetConstructedDataCommand {
+func CastBACnetConstructedDataCommand(structType any) BACnetConstructedDataCommand {
if casted, ok := structType.(BACnetConstructedDataCommand); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go
index 534e244043..de8f72caa0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataCommandAction(numberOfDataElements BACnetApplicatio
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCommandAction(structType interface{}) BACnetConstructedDataCommandAction {
+func CastBACnetConstructedDataCommandAction(structType any) BACnetConstructedDataCommandAction {
if casted, ok := structType.(BACnetConstructedDataCommandAction); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go
index be03a1c0d6..dd63540443 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataCommandAll(openingTag BACnetOpeningTag, peekedTagHe
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCommandAll(structType interface{}) BACnetConstructedDataCommandAll {
+func CastBACnetConstructedDataCommandAll(structType any) BACnetConstructedDataCommandAll {
if casted, ok := structType.(BACnetConstructedDataCommandAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go
index dc4d0044af..2f05f4c69d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataCommandTimeArray(numberOfDataElements BACnetApplica
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCommandTimeArray(structType interface{}) BACnetConstructedDataCommandTimeArray {
+func CastBACnetConstructedDataCommandTimeArray(structType any) BACnetConstructedDataCommandTimeArray {
if casted, ok := structType.(BACnetConstructedDataCommandTimeArray); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go
index 464e373579..10f3d7e4c9 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataConfigurationFiles(numberOfDataElements BACnetAppli
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataConfigurationFiles(structType interface{}) BACnetConstructedDataConfigurationFiles {
+func CastBACnetConstructedDataConfigurationFiles(structType any) BACnetConstructedDataConfigurationFiles {
if casted, ok := structType.(BACnetConstructedDataConfigurationFiles); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go
index f35061a141..6386e1453e 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go
@@ -132,7 +132,7 @@ func NewBACnetConstructedDataControlGroups(numberOfDataElements BACnetApplicatio
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataControlGroups(structType interface{}) BACnetConstructedDataControlGroups {
+func CastBACnetConstructedDataControlGroups(structType any) BACnetConstructedDataControlGroups {
if casted, ok := structType.(BACnetConstructedDataControlGroups); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go
index 9a3a53ee18..353ee422ef 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataControlledVariableReference(controlledVariableRefer
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataControlledVariableReference(structType interface{}) BACnetConstructedDataControlledVariableReference {
+func CastBACnetConstructedDataControlledVariableReference(structType any) BACnetConstructedDataControlledVariableReference {
if casted, ok := structType.(BACnetConstructedDataControlledVariableReference); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go
index de964bb142..c9673de84d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataControlledVariableUnits(units BACnetEngineeringUnit
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataControlledVariableUnits(structType interface{}) BACnetConstructedDataControlledVariableUnits {
+func CastBACnetConstructedDataControlledVariableUnits(structType any) BACnetConstructedDataControlledVariableUnits {
if casted, ok := structType.(BACnetConstructedDataControlledVariableUnits); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go
index b59b402431..407f852945 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataControlledVariableValue(controlledVariableValue BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataControlledVariableValue(structType interface{}) BACnetConstructedDataControlledVariableValue {
+func CastBACnetConstructedDataControlledVariableValue(structType any) BACnetConstructedDataControlledVariableValue {
if casted, ok := structType.(BACnetConstructedDataControlledVariableValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go
index 634a94bfda..c4b2e5f435 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCount(count BACnetApplicationTagUnsignedInteger, op
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCount(structType interface{}) BACnetConstructedDataCount {
+func CastBACnetConstructedDataCount(structType any) BACnetConstructedDataCount {
if casted, ok := structType.(BACnetConstructedDataCount); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go
index 8a36930c6c..9c417cda39 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCountBeforeChange(countBeforeChange BACnetApplicati
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCountBeforeChange(structType interface{}) BACnetConstructedDataCountBeforeChange {
+func CastBACnetConstructedDataCountBeforeChange(structType any) BACnetConstructedDataCountBeforeChange {
if casted, ok := structType.(BACnetConstructedDataCountBeforeChange); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go
index 1c8a6b023e..8be1207441 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCountChangeTime(countChangeTime BACnetDateTime, ope
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCountChangeTime(structType interface{}) BACnetConstructedDataCountChangeTime {
+func CastBACnetConstructedDataCountChangeTime(structType any) BACnetConstructedDataCountChangeTime {
if casted, ok := structType.(BACnetConstructedDataCountChangeTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go
index db095421be..4bbecc7bf0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataCredentialDataInputAll(openingTag BACnetOpeningTag,
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCredentialDataInputAll(structType interface{}) BACnetConstructedDataCredentialDataInputAll {
+func CastBACnetConstructedDataCredentialDataInputAll(structType any) BACnetConstructedDataCredentialDataInputAll {
if casted, ok := structType.(BACnetConstructedDataCredentialDataInputAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go
index e48214848d..a8adafcdb6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCredentialDataInputPresentValue(presentValue BACnet
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCredentialDataInputPresentValue(structType interface{}) BACnetConstructedDataCredentialDataInputPresentValue {
+func CastBACnetConstructedDataCredentialDataInputPresentValue(structType any) BACnetConstructedDataCredentialDataInputPresentValue {
if casted, ok := structType.(BACnetConstructedDataCredentialDataInputPresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go
index eab46c4db4..eb8a48f575 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCredentialDataInputUpdateTime(updateTime BACnetTime
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCredentialDataInputUpdateTime(structType interface{}) BACnetConstructedDataCredentialDataInputUpdateTime {
+func CastBACnetConstructedDataCredentialDataInputUpdateTime(structType any) BACnetConstructedDataCredentialDataInputUpdateTime {
if casted, ok := structType.(BACnetConstructedDataCredentialDataInputUpdateTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go
index 524eb31ec0..d6af56dad0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCredentialDisable(credentialDisable BACnetAccessCre
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCredentialDisable(structType interface{}) BACnetConstructedDataCredentialDisable {
+func CastBACnetConstructedDataCredentialDisable(structType any) BACnetConstructedDataCredentialDisable {
if casted, ok := structType.(BACnetConstructedDataCredentialDisable); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go
index 5599f54b16..cff4bef04a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCredentialStatus(binaryPv BACnetBinaryPVTagged, ope
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCredentialStatus(structType interface{}) BACnetConstructedDataCredentialStatus {
+func CastBACnetConstructedDataCredentialStatus(structType any) BACnetConstructedDataCredentialStatus {
if casted, ok := structType.(BACnetConstructedDataCredentialStatus); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go
index bc0a00b900..e761a3aa91 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataCredentials(credentials []BACnetDeviceObjectReferen
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCredentials(structType interface{}) BACnetConstructedDataCredentials {
+func CastBACnetConstructedDataCredentials(structType any) BACnetConstructedDataCredentials {
if casted, ok := structType.(BACnetConstructedDataCredentials); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go
index 6fb0284113..87553145a6 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataCredentialsInZone(credentialsInZone []BACnetDeviceO
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCredentialsInZone(structType interface{}) BACnetConstructedDataCredentialsInZone {
+func CastBACnetConstructedDataCredentialsInZone(structType any) BACnetConstructedDataCredentialsInZone {
if casted, ok := structType.(BACnetConstructedDataCredentialsInZone); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go
index f4997061a9..b2123ea898 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataCurrentCommandPriority(currentCommandPriority BACne
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataCurrentCommandPriority(structType interface{}) BACnetConstructedDataCurrentCommandPriority {
+func CastBACnetConstructedDataCurrentCommandPriority(structType any) BACnetConstructedDataCurrentCommandPriority {
if casted, ok := structType.(BACnetConstructedDataCurrentCommandPriority); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go
index 1cfac27618..e3d3e19343 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDatabaseRevision(databaseRevision BACnetApplication
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDatabaseRevision(structType interface{}) BACnetConstructedDataDatabaseRevision {
+func CastBACnetConstructedDataDatabaseRevision(structType any) BACnetConstructedDataDatabaseRevision {
if casted, ok := structType.(BACnetConstructedDataDatabaseRevision); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go
index ce581eb162..f6a1d6fa0a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataDateList(dateList []BACnetCalendarEntry, openingTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDateList(structType interface{}) BACnetConstructedDataDateList {
+func CastBACnetConstructedDataDateList(structType any) BACnetConstructedDataDateList {
if casted, ok := structType.(BACnetConstructedDataDateList); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go
index d188848f38..f7340693e5 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDatePatternValuePresentValue(presentValue BACnetApp
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDatePatternValuePresentValue(structType interface{}) BACnetConstructedDataDatePatternValuePresentValue {
+func CastBACnetConstructedDataDatePatternValuePresentValue(structType any) BACnetConstructedDataDatePatternValuePresentValue {
if casted, ok := structType.(BACnetConstructedDataDatePatternValuePresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go
index a9b091a4ed..330b5f1602 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDatePatternValueRelinquishDefault(relinquishDefault
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDatePatternValueRelinquishDefault(structType interface{}) BACnetConstructedDataDatePatternValueRelinquishDefault {
+func CastBACnetConstructedDataDatePatternValueRelinquishDefault(structType any) BACnetConstructedDataDatePatternValueRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataDatePatternValueRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go
index 02f82090b1..d22c133d3a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDateTimePatternValuePresentValue(presentValue BACne
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDateTimePatternValuePresentValue(structType interface{}) BACnetConstructedDataDateTimePatternValuePresentValue {
+func CastBACnetConstructedDataDateTimePatternValuePresentValue(structType any) BACnetConstructedDataDateTimePatternValuePresentValue {
if casted, ok := structType.(BACnetConstructedDataDateTimePatternValuePresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go
index 7f1b8abfba..d433979abe 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDateTimePatternValueRelinquishDefault(relinquishDef
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDateTimePatternValueRelinquishDefault(structType interface{}) BACnetConstructedDataDateTimePatternValueRelinquishDefault {
+func CastBACnetConstructedDataDateTimePatternValueRelinquishDefault(structType any) BACnetConstructedDataDateTimePatternValueRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataDateTimePatternValueRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go
index 559e13fd05..fdee51a39f 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDateTimeValuePresentValue(presentValue BACnetDateTi
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDateTimeValuePresentValue(structType interface{}) BACnetConstructedDataDateTimeValuePresentValue {
+func CastBACnetConstructedDataDateTimeValuePresentValue(structType any) BACnetConstructedDataDateTimeValuePresentValue {
if casted, ok := structType.(BACnetConstructedDataDateTimeValuePresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go
index c83446f5ec..e16d1a0b8c 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDateTimeValueRelinquishDefault(relinquishDefault BA
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDateTimeValueRelinquishDefault(structType interface{}) BACnetConstructedDataDateTimeValueRelinquishDefault {
+func CastBACnetConstructedDataDateTimeValueRelinquishDefault(structType any) BACnetConstructedDataDateTimeValueRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataDateTimeValueRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go
index dbfd7cb62d..b88abe4dfa 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataDateValueAll(openingTag BACnetOpeningTag, peekedTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDateValueAll(structType interface{}) BACnetConstructedDataDateValueAll {
+func CastBACnetConstructedDataDateValueAll(structType any) BACnetConstructedDataDateValueAll {
if casted, ok := structType.(BACnetConstructedDataDateValueAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go
index daeb0dd007..d46a8ed257 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDateValuePresentValue(presentValue BACnetApplicatio
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDateValuePresentValue(structType interface{}) BACnetConstructedDataDateValuePresentValue {
+func CastBACnetConstructedDataDateValuePresentValue(structType any) BACnetConstructedDataDateValuePresentValue {
if casted, ok := structType.(BACnetConstructedDataDateValuePresentValue); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go
index f3aa63cf73..6b6c81b9ee 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDateValueRelinquishDefault(relinquishDefault BACnet
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDateValueRelinquishDefault(structType interface{}) BACnetConstructedDataDateValueRelinquishDefault {
+func CastBACnetConstructedDataDateValueRelinquishDefault(structType any) BACnetConstructedDataDateValueRelinquishDefault {
if casted, ok := structType.(BACnetConstructedDataDateValueRelinquishDefault); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go
index 8e76600893..8543c55b4b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataDatepatternValueAll(openingTag BACnetOpeningTag, pe
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDatepatternValueAll(structType interface{}) BACnetConstructedDataDatepatternValueAll {
+func CastBACnetConstructedDataDatepatternValueAll(structType any) BACnetConstructedDataDatepatternValueAll {
if casted, ok := structType.(BACnetConstructedDataDatepatternValueAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go
index e849528f68..40b59267e7 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataDatetimeValueAll(openingTag BACnetOpeningTag, peeke
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDatetimeValueAll(structType interface{}) BACnetConstructedDataDatetimeValueAll {
+func CastBACnetConstructedDataDatetimeValueAll(structType any) BACnetConstructedDataDatetimeValueAll {
if casted, ok := structType.(BACnetConstructedDataDatetimeValueAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go
index 4a7aa030eb..e850c01540 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataDatetimepatternValueAll(openingTag BACnetOpeningTag
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDatetimepatternValueAll(structType interface{}) BACnetConstructedDataDatetimepatternValueAll {
+func CastBACnetConstructedDataDatetimepatternValueAll(structType any) BACnetConstructedDataDatetimepatternValueAll {
if casted, ok := structType.(BACnetConstructedDataDatetimepatternValueAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go
index ae2569920f..26673d3802 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDaylightSavingsStatus(daylightSavingsStatus BACnetA
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDaylightSavingsStatus(structType interface{}) BACnetConstructedDataDaylightSavingsStatus {
+func CastBACnetConstructedDataDaylightSavingsStatus(structType any) BACnetConstructedDataDaylightSavingsStatus {
if casted, ok := structType.(BACnetConstructedDataDaylightSavingsStatus); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go
index 2937e3b0be..e2bb1228d3 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDaysRemaining(daysRemaining BACnetApplicationTagSig
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDaysRemaining(structType interface{}) BACnetConstructedDataDaysRemaining {
+func CastBACnetConstructedDataDaysRemaining(structType any) BACnetConstructedDataDaysRemaining {
if casted, ok := structType.(BACnetConstructedDataDaysRemaining); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go
index afa3e56231..4b5c8c9dea 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDeadband(deadband BACnetApplicationTagReal, opening
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDeadband(structType interface{}) BACnetConstructedDataDeadband {
+func CastBACnetConstructedDataDeadband(structType any) BACnetConstructedDataDeadband {
if casted, ok := structType.(BACnetConstructedDataDeadband); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go
index 26f6ef19eb..aac91c0ec0 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDefaultFadeTime(defaultFadeTime BACnetApplicationTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDefaultFadeTime(structType interface{}) BACnetConstructedDataDefaultFadeTime {
+func CastBACnetConstructedDataDefaultFadeTime(structType any) BACnetConstructedDataDefaultFadeTime {
if casted, ok := structType.(BACnetConstructedDataDefaultFadeTime); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go
index ea6054db10..6a7859f4ca 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDefaultRampRate(defaultRampRate BACnetApplicationTa
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDefaultRampRate(structType interface{}) BACnetConstructedDataDefaultRampRate {
+func CastBACnetConstructedDataDefaultRampRate(structType any) BACnetConstructedDataDefaultRampRate {
if casted, ok := structType.(BACnetConstructedDataDefaultRampRate); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go
index 2fde53ee47..4b8775f05d 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDefaultStepIncrement(defaultStepIncrement BACnetApp
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDefaultStepIncrement(structType interface{}) BACnetConstructedDataDefaultStepIncrement {
+func CastBACnetConstructedDataDefaultStepIncrement(structType any) BACnetConstructedDataDefaultStepIncrement {
if casted, ok := structType.(BACnetConstructedDataDefaultStepIncrement); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go
index 58dd02e571..f9a461fd3b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDefaultSubordinateRelationship(defaultSubordinateRe
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDefaultSubordinateRelationship(structType interface{}) BACnetConstructedDataDefaultSubordinateRelationship {
+func CastBACnetConstructedDataDefaultSubordinateRelationship(structType any) BACnetConstructedDataDefaultSubordinateRelationship {
if casted, ok := structType.(BACnetConstructedDataDefaultSubordinateRelationship); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go
index 70622046a5..2b6179e977 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDefaultTimeout(defaultTimeout BACnetApplicationTagU
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDefaultTimeout(structType interface{}) BACnetConstructedDataDefaultTimeout {
+func CastBACnetConstructedDataDefaultTimeout(structType any) BACnetConstructedDataDefaultTimeout {
if casted, ok := structType.(BACnetConstructedDataDefaultTimeout); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go
index b245c30953..53d4ac78ed 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDeployedProfileLocation(deployedProfileLocation BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDeployedProfileLocation(structType interface{}) BACnetConstructedDataDeployedProfileLocation {
+func CastBACnetConstructedDataDeployedProfileLocation(structType any) BACnetConstructedDataDeployedProfileLocation {
if casted, ok := structType.(BACnetConstructedDataDeployedProfileLocation); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go
index 0581b578e4..c0a7ed31e1 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDerivativeConstant(derivativeConstant BACnetApplica
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDerivativeConstant(structType interface{}) BACnetConstructedDataDerivativeConstant {
+func CastBACnetConstructedDataDerivativeConstant(structType any) BACnetConstructedDataDerivativeConstant {
if casted, ok := structType.(BACnetConstructedDataDerivativeConstant); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go
index 124e37d060..8c42c333ab 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDerivativeConstantUnits(units BACnetEngineeringUnit
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDerivativeConstantUnits(structType interface{}) BACnetConstructedDataDerivativeConstantUnits {
+func CastBACnetConstructedDataDerivativeConstantUnits(structType any) BACnetConstructedDataDerivativeConstantUnits {
if casted, ok := structType.(BACnetConstructedDataDerivativeConstantUnits); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go
index d57529f4c9..7326993d31 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDescription(description BACnetApplicationTagCharact
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDescription(structType interface{}) BACnetConstructedDataDescription {
+func CastBACnetConstructedDataDescription(structType any) BACnetConstructedDataDescription {
if casted, ok := structType.(BACnetConstructedDataDescription); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go
index f51f8856b1..db57347495 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDescriptionOfHalt(descriptionForHalt BACnetApplicat
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDescriptionOfHalt(structType interface{}) BACnetConstructedDataDescriptionOfHalt {
+func CastBACnetConstructedDataDescriptionOfHalt(structType any) BACnetConstructedDataDescriptionOfHalt {
if casted, ok := structType.(BACnetConstructedDataDescriptionOfHalt); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go
index c82d33f031..2b6ef20dac 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go
@@ -104,7 +104,7 @@ func NewBACnetConstructedDataDeviceAddressBinding(deviceAddressBinding []BACnetA
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDeviceAddressBinding(structType interface{}) BACnetConstructedDataDeviceAddressBinding {
+func CastBACnetConstructedDataDeviceAddressBinding(structType any) BACnetConstructedDataDeviceAddressBinding {
if casted, ok := structType.(BACnetConstructedDataDeviceAddressBinding); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go
index dfafc18348..56612834bc 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go
@@ -86,7 +86,7 @@ func NewBACnetConstructedDataDeviceAll(openingTag BACnetOpeningTag, peekedTagHea
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDeviceAll(structType interface{}) BACnetConstructedDataDeviceAll {
+func CastBACnetConstructedDataDeviceAll(structType any) BACnetConstructedDataDeviceAll {
if casted, ok := structType.(BACnetConstructedDataDeviceAll); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go
index 77f2eee5a4..2e69508593 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDeviceMaxInfoFrames(maxInfoFrames BACnetApplication
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDeviceMaxInfoFrames(structType interface{}) BACnetConstructedDataDeviceMaxInfoFrames {
+func CastBACnetConstructedDataDeviceMaxInfoFrames(structType any) BACnetConstructedDataDeviceMaxInfoFrames {
if casted, ok := structType.(BACnetConstructedDataDeviceMaxInfoFrames); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go
index 6c6db7b6d8..f05eb597a4 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDeviceMaxMaster(maxMaster BACnetApplicationTagUnsig
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDeviceMaxMaster(structType interface{}) BACnetConstructedDataDeviceMaxMaster {
+func CastBACnetConstructedDataDeviceMaxMaster(structType any) BACnetConstructedDataDeviceMaxMaster {
if casted, ok := structType.(BACnetConstructedDataDeviceMaxMaster); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go
index 36f9861feb..93743f1ebb 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDeviceType(deviceType BACnetApplicationTagCharacter
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDeviceType(structType interface{}) BACnetConstructedDataDeviceType {
+func CastBACnetConstructedDataDeviceType(structType any) BACnetConstructedDataDeviceType {
if casted, ok := structType.(BACnetConstructedDataDeviceType); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go
index 678eb81715..cb907aa2ea 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDirectReading(directReading BACnetApplicationTagRea
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDirectReading(structType interface{}) BACnetConstructedDataDirectReading {
+func CastBACnetConstructedDataDirectReading(structType any) BACnetConstructedDataDirectReading {
if casted, ok := structType.(BACnetConstructedDataDirectReading); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go
index 3ee93b240a..8ad7a1521b 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDistributionKeyRevision(distributionKeyRevision BAC
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDistributionKeyRevision(structType interface{}) BACnetConstructedDataDistributionKeyRevision {
+func CastBACnetConstructedDataDistributionKeyRevision(structType any) BACnetConstructedDataDistributionKeyRevision {
if casted, ok := structType.(BACnetConstructedDataDistributionKeyRevision); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go
index 307de9ffa3..9601dff16a 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDoNotHide(doNotHide BACnetApplicationTagBoolean, op
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDoNotHide(structType interface{}) BACnetConstructedDataDoNotHide {
+func CastBACnetConstructedDataDoNotHide(structType any) BACnetConstructedDataDoNotHide {
if casted, ok := structType.(BACnetConstructedDataDoNotHide); ok {
return casted
}
diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go
index a529d0144e..9421f7ccba 100644
--- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go
+++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go
@@ -121,7 +121,7 @@ func NewBACnetConstructedDataDoorAlarmState(doorAlarmState BACnetDoorAlarmStateT
}
// Deprecated: use the interface for direct cast
-func CastBACnetConstructedDataDoorAlarmState(structType interface{}) BACnetConstructedDataDoorAlarmState {
+func CastBACnetConstructedDataDoorAlarmState(structType any) BACnetConstructedDataDoorAlarmState {
if casted, ok := structType.(BACnetConstructedDataDoorAlarmState); ok {
... 30960 lines suppressed ...